/* R177: scoped to the existing signup AI widget and its conversation. */
#ranah-launcher.r177-training-widget{animation:none!important}
#ranah-launcher.r177-training-hop img{animation:r177-training-hop .82s ease-out 2;transform-origin:50% 100%;will-change:transform}
@keyframes r177-training-hop{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-13px) rotate(-3deg)}45%{transform:translateY(0) rotate(2deg)}65%{transform:translateY(-6px) rotate(-1deg)}82%{transform:translateY(0) rotate(0)}}
@media(prefers-reduced-motion:reduce){#ranah-launcher.r177-training-hop img{animation:none;will-change:auto}}
.ranah-driver-training .ranah-panel{width:min(520px,100%)!important;background:#fff!important;border-color:#e5e7e4!important}
.ranah-driver-training .ranah-panel>header{background:linear-gradient(115deg,#2843e6,#fff5a3)!important;color:#141818!important}
.ranah-driver-training .ranah-panel>header strong{color:#141818!important}.ranah-driver-training .ranah-panel>header small{color:#4d4f45!important}
.ranah-driver-training .ranah-messages{background:radial-gradient(circle at 95% 18%,#fff1a333,transparent 38%),#f9faf7!important;scrollbar-width:thin;scrollbar-color:#e5c738 transparent}
.r173-training{flex:0 0 auto;min-width:0;max-width:100%}.r173-training>.ranah-message{max-width:100%}.r173-training .ranah-message>div{background:#fff!important;border:1px solid #e2e6df!important;border-radius:4px 18px 18px!important}.r173-training .ranah-message p{font-weight:600;color:#202420!important}.r173-training-tip{margin:12px 0;font-size:12px;line-height:1.5;color:#687168}
.r173-lessons{display:grid;gap:12px}.r173-lesson{padding:13px;border:1px solid #e2e7dd;border-radius:18px;background:#fff;box-shadow:0 3px 12px #1c241406}
.r173-lesson-heading{display:flex;gap:10px;align-items:flex-start}.r173-lesson-heading>span{flex:0 0 30px;height:30px;display:grid;place-items:center;background:#2843e6;color:#161a16;border-radius:10px;font-size:12px;font-weight:800}.r173-lesson-heading strong{font-size:13px;line-height:1.4;display:block;color:#1d211d}.r173-lesson-heading small{display:block;font-size:11px;color:#6c7569;margin-top:4px}
.r173-lesson-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.ranah-driver-training .r173-watch{background:#2843e6!important;color:#171a16!important;border-color:#eed031!important;min-height:42px}.ranah-driver-training .r173-full{background:#f4f6f1!important;color:#262d24!important;min-height:42px}
.r173-video-wrap{position:relative;margin-top:12px;background:#0e100e;border-radius:12px;overflow:hidden}.r173-video-wrap video{display:block;width:100%;max-height:min(62dvh,540px);background:#0e100e;object-fit:contain;aspect-ratio:16/9}.r173-exit-full{display:none!important}.r173-video-error{color:#fff6b7!important;padding:12px;font-size:12px;line-height:1.5}
.r173-video-wrap:fullscreen,.r173-video-wrap.r173-player-expanded{display:flex!important;flex-direction:column;align-items:center;justify-content:center;position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-height:none!important;margin:0!important;background:#080908!important;z-index:2147483647!important;border-radius:0!important;padding:12px;box-sizing:border-box}
.r173-video-wrap:fullscreen video,.r173-player-expanded video{width:100%!important;height:100%!important;max-height:calc(100dvh - 70px)!important;object-fit:contain;aspect-ratio:auto!important}
.r173-video-wrap:fullscreen .r173-exit-full,.r173-player-expanded .r173-exit-full{display:block!important;align-self:flex-end;flex-shrink:0;margin:4px 0 10px;background:#2843e6!important;color:#151815!important;border-color:#e7ca36!important}
@media(max-width:760px){.r173-video-wrap video{aspect-ratio:9/16;max-height:68dvh}.r173-lesson{padding:11px}.r173-lesson-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.r173-training *{scroll-behavior:auto!important}}
