.ou-sa-chat{font-family:inherit;--ou-sa-accent:#d54391;z-index:99999}.ou-sa-floating{position:fixed;bottom:24px}.ou-sa-right{right:24px}.ou-sa-left{left:24px}.ou-sa-bubble{width:64px;height:64px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--ou-sa-accent),#111);color:#fff;box-shadow:0 18px 44px rgba(0,0,0,.28);cursor:pointer;font-size:26px;display:flex;align-items:center;justify-content:center;transition:transform .18s ease,box-shadow .18s ease}.ou-sa-bubble:hover{transform:translateY(-2px);box-shadow:0 22px 54px rgba(0,0,0,.34)}.ou-sa-bubble.is-open{transform:scale(.96)}.ou-sa-panel{position:absolute;bottom:82px;width:390px;max-width:calc(100vw - 32px);background:#fff;color:#151515;border:1px solid rgba(0,0,0,.08);box-shadow:0 24px 60px rgba(0,0,0,.28);border-radius:22px;overflow:hidden}.ou-sa-right .ou-sa-panel{right:0}.ou-sa-left .ou-sa-panel{left:0}.ou-sa-head{background:linear-gradient(135deg,#111,#2a1725);color:#fff;padding:16px;display:flex;align-items:center;justify-content:space-between}.ou-sa-head strong{font-size:15px}.ou-sa-close{background:rgba(255,255,255,.12);border:0;color:#fff;width:30px;height:30px;border-radius:999px;font-size:22px;line-height:1;cursor:pointer}.ou-sa-privacy{font-size:12px;line-height:1.35;color:#666;background:#f8f7f8;padding:10px 14px}.ou-sa-messages{height:310px;overflow:auto;padding:15px;background:#fff;scroll-behavior:smooth}.ou-sa-msg{display:flex;margin:0 0 10px;animation:ouSaIn .18s ease}.ou-sa-msg>div{max-width:84%;padding:11px 13px;border-radius:16px;line-height:1.42;font-size:14px}.ou-sa-msg-user{justify-content:flex-end}.ou-sa-msg-user>div{background:var(--ou-sa-accent);color:#fff;border-bottom-right-radius:5px}.ou-sa-msg-assistant>div{background:#f1f1f3;color:#111;border-bottom-left-radius:5px}.ou-sa-typing>div{opacity:.72}.ou-sa-quick{display:flex;gap:7px;flex-wrap:wrap;padding:0 14px 13px;background:#fff}.ou-sa-quick button{border:1px solid #e4e4e7;background:#fff;border-radius:999px;padding:8px 11px;font-size:12px;cursor:pointer;transition:border-color .16s ease,color .16s ease,background .16s ease}.ou-sa-quick button:hover{border-color:var(--ou-sa-accent);color:var(--ou-sa-accent);background:#fff8fc}.ou-sa-input-row{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #eee;background:#fbfbfb}.ou-sa-input-row input{flex:1;border:1px solid #ddd;border-radius:14px;padding:11px;min-width:0}.ou-sa-input-row button,.ou-sa-lead-form button{background:var(--ou-sa-accent);color:#fff;border:0;border-radius:14px;padding:10px 14px;font-weight:700;cursor:pointer}.ou-sa-lead-toggle{margin:0 14px 14px;background:#111;color:#fff;border:0;border-radius:14px;padding:10px 13px;font-weight:700;cursor:pointer}.ou-sa-lead-form{padding:0 14px 14px;display:grid;gap:8px}.ou-sa-lead-form[hidden]{display:none}.ou-sa-lead-form input,.ou-sa-lead-form textarea{width:100%;border:1px solid #ddd;border-radius:14px;padding:11px;box-sizing:border-box}.ou-sa-lead-form textarea{min-height:76px}.ou-sa-consent{font-size:12px;line-height:1.35;color:#333}.ou-sa-handoff{margin:0 14px 12px;padding:13px;border:1px solid #eee;border-radius:16px;background:#fafafa;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ou-sa-handoff[hidden]{display:none}.ou-sa-handoff p{flex:1 0 100%;margin:0 0 2px;color:#333;font-size:13px;line-height:1.35}.ou-sa-action-link{display:inline-flex;align-items:center;justify-content:center;background:#111;color:#fff!important;text-decoration:none;border-radius:12px;padding:8px 11px;font-size:13px;font-weight:700}.ou-sa-action-link:hover{background:var(--ou-sa-accent);color:#fff!important}.ou-sa-dynamic-fields{display:flex;flex-direction:column;gap:8px}.ou-sa-dynamic-fields input,.ou-sa-dynamic-fields textarea{width:100%;box-sizing:border-box}@keyframes ouSaIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@media(max-width:480px){.ou-sa-floating{right:16px;left:auto;bottom:16px}.ou-sa-panel{width:calc(100vw - 32px);right:0;bottom:76px}.ou-sa-messages{height:55vh}.ou-sa-bubble{width:58px;height:58px}}

/* v0.12.0 - Acciones inteligentes por intención */
.ou-sa-msg-action > div {
  background: transparent !important;
  box-shadow: none !important;
  padding-top: 0 !important;
}
.ou-sa-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ou-sa-accent, #d54391);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.ou-sa-inline-action:hover,
.ou-sa-inline-action:focus {
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none;
}

.ou-sa-extra-field{display:block;margin:8px 0;}
.ou-sa-extra-field span{display:block;font-size:12px;font-weight:700;color:#444;margin:0 0 4px;}
.ou-sa-extra-field input,.ou-sa-extra-field textarea{width:100%;box-sizing:border-box;}

/* v0.16.0 - Personalización visual / marca blanca */
.ou-sa-bubble{gap:8px;padding:0 18px;width:auto;min-width:64px;max-width:220px;white-space:nowrap}.ou-sa-bubble-icon{display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1}.ou-sa-bubble-label{font-size:13px;font-weight:800;line-height:1.1;letter-spacing:-.01em}.ou-sa-agent-id{display:flex;align-items:center;gap:10px;min-width:0}.ou-sa-agent-avatar{width:36px;height:36px;border-radius:999px;background:rgba(255,255,255,.12);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.ou-sa-agent-id strong{display:block;line-height:1.15}.ou-sa-agent-id small{display:block;margin-top:2px;font-size:12px;opacity:.78;font-weight:500}.ou-sa-powered{padding:8px 14px 12px;text-align:center;color:#8a8a8a;font-size:11px;background:#fff}.ou-sa-theme-light .ou-sa-head{background:#fff;color:#111;border-bottom:1px solid #eee}.ou-sa-theme-light .ou-sa-agent-avatar{background:#f3f3f5}.ou-sa-theme-light .ou-sa-close{background:#f3f3f5;color:#111}.ou-sa-theme-light .ou-sa-bubble{background:var(--ou-sa-accent);box-shadow:0 16px 42px rgba(0,0,0,.20)}.ou-sa-theme-minimal .ou-sa-panel{border-radius:16px;box-shadow:0 18px 48px rgba(0,0,0,.18)}.ou-sa-theme-minimal .ou-sa-head{background:#fff;color:#111;border-bottom:1px solid #eee;padding:14px}.ou-sa-theme-minimal .ou-sa-agent-avatar{background:#f5f5f5}.ou-sa-theme-minimal .ou-sa-close{background:transparent;color:#111}.ou-sa-theme-minimal .ou-sa-bubble{background:#111;box-shadow:0 12px 36px rgba(0,0,0,.22)}
@media(max-width:480px){.ou-sa-bubble-label{display:none}.ou-sa-bubble{width:58px;min-width:58px;padding:0}.ou-sa-bubble-icon{font-size:23px}}


/* v0.41.0 - Firma OU */
.ou-sa-powered-ou{font-weight:700;letter-spacing:.01em;color:#6e6e73}.ou-sa-agent-avatar,.ou-sa-bubble-icon{font-weight:900;letter-spacing:-.05em}


.ou-sa-bubble:focus-visible,
.ou-sa-close:focus-visible,
.ou-sa-quick button:focus-visible,
.ou-sa-input-row button:focus-visible,
.ou-sa-lead-toggle:focus-visible,
.ou-sa-lead-form button:focus-visible,
.ou-sa-action-link:focus-visible,
.ou-sa-inline-action:focus-visible{
  outline:3px solid color-mix(in srgb, var(--ou-sa-accent, #d54391) 70%, #fff);
  outline-offset:3px;
}
.ou-sa-input-row input:focus,
.ou-sa-lead-form input:focus,
.ou-sa-lead-form textarea:focus{
  border-color:var(--ou-sa-accent, #d54391);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--ou-sa-accent, #d54391) 16%, transparent);
  outline:0;
}
.ou-sa-input-row button:disabled,
.ou-sa-lead-form button:disabled{
  opacity:.58;
  cursor:not-allowed;
  filter:saturate(.6);
}
@media (prefers-reduced-motion: reduce){
  .ou-sa-msg,.ou-sa-bubble,.ou-sa-inline-action{animation:none!important;transition:none!important;transform:none!important;}
  .ou-sa-messages{scroll-behavior:auto;}
}

/* v0.50.0 - Reinicio de conversación y vista previa segura no indexable */
.ou-sa-head-actions{display:flex;gap:6px;align-items:center}
.ou-sa-reset{border:0;background:rgba(255,255,255,.12);color:inherit;width:30px;height:30px;border-radius:999px;cursor:pointer;line-height:1;font-size:17px;display:inline-flex;align-items:center;justify-content:center}
.ou-sa-reset:hover,.ou-sa-reset:focus-visible{background:rgba(255,255,255,.22);outline:2px solid rgba(255,255,255,.55);outline-offset:2px}
.ou-sa-head-actions .ou-sa-close{position:static}


.ou-sa-panel{border:1px solid rgba(213,67,145,.14);box-shadow:0 26px 70px rgba(17,17,22,.30);}
.ou-sa-head{background:linear-gradient(135deg,#17171c 0%,#2b1625 100%);}
.ou-sa-quick{min-height:0;padding:0 14px 12px;}
.ou-sa-quick:empty{display:none;}
.ou-sa-quick button:empty{display:none!important;}
.ou-sa-quick button{color:#26262b;font-weight:700;min-height:32px;}
.ou-sa-msg-assistant>div{background:#f3f3f6;color:#15151a;}
.ou-sa-msg-user>div{box-shadow:0 8px 20px color-mix(in srgb, var(--ou-sa-accent,#d54391) 30%, transparent);}
.ou-sa-powered{border-top:1px solid #f0edf1;}
.ou-sa-privacy{color:#555862;}
.ou-sa-input-row input{background:#fff;color:#111;}
.ou-sa-lead-toggle{box-shadow:0 8px 18px rgba(0,0,0,.14);}

.ou-sa-chat{
  --ou-sa-panel-bg:#ffffff;
  --ou-sa-panel-text:#15151a;
  --ou-sa-header-bg:#171217;
  --ou-sa-header-bg-2:#2a1725;
  --ou-sa-header-text:#ffffff;
  --ou-sa-notice-bg:#f8f7f8;
  --ou-sa-notice-text:#555862;
  --ou-sa-assistant-bg:#f3f3f6;
  --ou-sa-assistant-text:#15151a;
  --ou-sa-user-bg:var(--ou-sa-accent,#d54391);
  --ou-sa-user-text:#ffffff;
  --ou-sa-quick-bg:#ffffff;
  --ou-sa-quick-text:#15151a;
  --ou-sa-quick-border:#d9d9e2;
  --ou-sa-quick-hover-bg:#fff8fc;
  --ou-sa-quick-hover-text:var(--ou-sa-accent,#d54391);
  --ou-sa-input-bg:#ffffff;
  --ou-sa-input-text:#111111;
  --ou-sa-input-border:#dddddd;
  --ou-sa-send-bg:var(--ou-sa-accent,#d54391);
  --ou-sa-send-text:#ffffff;
  --ou-sa-lead-bg:#111111;
  --ou-sa-lead-text:#ffffff;
  --ou-sa-launcher-bg:var(--ou-sa-accent,#d54391);
  --ou-sa-launcher-bg-2:#2a1725;
  --ou-sa-launcher-text:#ffffff;
  --ou-sa-action-bg:#111111;
  --ou-sa-action-text:#ffffff;
  --ou-sa-powered-text:#6e6e73;
}
.ou-sa-panel{background:var(--ou-sa-panel-bg)!important;color:var(--ou-sa-panel-text)!important;}
.ou-sa-head,.ou-sa-theme-light .ou-sa-head,.ou-sa-theme-minimal .ou-sa-head{background:linear-gradient(135deg,var(--ou-sa-header-bg),var(--ou-sa-header-bg-2))!important;color:var(--ou-sa-header-text)!important;border-bottom:0!important;}
.ou-sa-agent-id strong,.ou-sa-agent-id small{color:var(--ou-sa-header-text)!important;}
.ou-sa-agent-avatar{background:color-mix(in srgb,var(--ou-sa-header-text) 14%,transparent)!important;color:var(--ou-sa-header-text)!important;}
.ou-sa-reset,.ou-sa-close{background:color-mix(in srgb,var(--ou-sa-header-text) 14%,transparent)!important;color:var(--ou-sa-header-text)!important;}
.ou-sa-privacy{background:var(--ou-sa-notice-bg)!important;color:var(--ou-sa-notice-text)!important;}
.ou-sa-messages,.ou-sa-quick,.ou-sa-powered{background:var(--ou-sa-panel-bg)!important;color:var(--ou-sa-panel-text)!important;}
.ou-sa-msg-assistant>div{background:var(--ou-sa-assistant-bg)!important;color:var(--ou-sa-assistant-text)!important;}
.ou-sa-msg-user>div{background:var(--ou-sa-user-bg)!important;color:var(--ou-sa-user-text)!important;}
.ou-sa-quick button{background:var(--ou-sa-quick-bg)!important;color:var(--ou-sa-quick-text)!important;border-color:var(--ou-sa-quick-border)!important;}
.ou-sa-quick button:hover,.ou-sa-quick button:focus{background:var(--ou-sa-quick-hover-bg)!important;color:var(--ou-sa-quick-hover-text)!important;border-color:var(--ou-sa-quick-hover-text)!important;}
.ou-sa-input-row{background:color-mix(in srgb,var(--ou-sa-panel-bg) 92%,#f5f5f7)!important;border-top-color:color-mix(in srgb,var(--ou-sa-input-border) 72%,transparent)!important;}
.ou-sa-input-row input,.ou-sa-lead-form input,.ou-sa-lead-form textarea{background:var(--ou-sa-input-bg)!important;color:var(--ou-sa-input-text)!important;border-color:var(--ou-sa-input-border)!important;}
.ou-sa-input-row input::placeholder,.ou-sa-lead-form input::placeholder,.ou-sa-lead-form textarea::placeholder{color:color-mix(in srgb,var(--ou-sa-input-text) 48%,transparent)!important;opacity:1;}
.ou-sa-input-row button,.ou-sa-lead-form button{background:var(--ou-sa-send-bg)!important;color:var(--ou-sa-send-text)!important;}
.ou-sa-lead-toggle{background:var(--ou-sa-lead-bg)!important;color:var(--ou-sa-lead-text)!important;}
.ou-sa-action-link{background:var(--ou-sa-action-bg)!important;color:var(--ou-sa-action-text)!important;}
.ou-sa-action-link:hover{background:var(--ou-sa-send-bg)!important;color:var(--ou-sa-send-text)!important;}
.ou-sa-bubble,.ou-sa-theme-light .ou-sa-bubble,.ou-sa-theme-minimal .ou-sa-bubble{background:linear-gradient(135deg,var(--ou-sa-launcher-bg),var(--ou-sa-launcher-bg-2))!important;color:var(--ou-sa-launcher-text)!important;}
.ou-sa-bubble-icon,.ou-sa-bubble-label{color:var(--ou-sa-launcher-text)!important;}
.ou-sa-powered,.ou-sa-powered-ou{color:var(--ou-sa-powered-text)!important;}
.ou-sa-consent{color:var(--ou-sa-panel-text)!important;}

.ou-sa-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;}

.ou-sa-standalone-lead{background:var(--ou-sa-panel-bg,#fff);color:var(--ou-sa-panel-text,#15151a);border:1px solid color-mix(in srgb,var(--ou-sa-input-border,#ddd) 75%,transparent);border-radius:22px;padding:22px;box-shadow:0 22px 60px rgba(17,17,24,.10);max-width:760px;margin:0 auto;box-sizing:border-box}
.ou-sa-standalone-lead-head{margin-bottom:16px}.ou-sa-standalone-lead-head strong{display:block;font-size:clamp(22px,3vw,32px);line-height:1.08;letter-spacing:-.03em;color:var(--ou-sa-panel-text,#15151a)}.ou-sa-standalone-lead-head p{margin:8px 0 0;color:color-mix(in srgb,var(--ou-sa-panel-text,#15151a) 72%,transparent);font-size:15px;line-height:1.55}
.ou-sa-lead-form-inline{display:flex!important;flex-direction:column;gap:12px;background:transparent!important;border:0!important;padding:0!important;margin:0!important}.ou-sa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ou-sa-lead-form-inline input,.ou-sa-lead-form-inline textarea{width:100%;box-sizing:border-box;border-radius:14px;border:1px solid var(--ou-sa-input-border,#ddd);background:var(--ou-sa-input-bg,#fff);color:var(--ou-sa-input-text,#111);padding:12px 13px;font-size:15px}.ou-sa-lead-form-inline textarea{resize:vertical;min-height:120px}.ou-sa-lead-form-inline button{align-self:flex-start;border:0;border-radius:999px;background:var(--ou-sa-send-bg,#d54391);color:var(--ou-sa-send-text,#fff);padding:12px 18px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 26%,transparent)}.ou-sa-lead-form-inline button:disabled{opacity:.6;cursor:not-allowed}.ou-sa-lead-form-result{margin:0;font-weight:700}.ou-sa-lead-form-result.is-ok{color:#126b35}.ou-sa-lead-form-result.is-error{color:#b3261e}
@media(max-width:640px){.ou-sa-form-grid{grid-template-columns:1fr}.ou-sa-standalone-lead{padding:18px;border-radius:18px}}

.ou-sa-standalone-booking .ou-sa-booking-slots{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;padding:12px;border:1px solid rgba(213,67,145,.18);background:rgba(213,67,145,.06);border-radius:16px}.ou-sa-standalone-booking .ou-sa-booking-slots span{font-weight:800;color:var(--ou-sa-accent,#d54391)}.ou-sa-standalone-booking .ou-sa-booking-slots b{font-size:12px;border:1px solid rgba(213,67,145,.22);background:#fff;border-radius:999px;padding:5px 9px;color:#1b1b20}.ou-sa-standalone-booking input[type="date"],.ou-sa-standalone-booking input[type="time"]{min-height:42px}

.ou-sa-admin-only-note {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid #f0c4dc;
    border-radius: 12px;
    background: #fff7fb;
    color: #5b1c3d;
    font-size: 14px;
    line-height: 1.45;
}


/* Launcher flotante moderno/minimalista */
.ou-sa-floating{bottom:22px;}
.ou-sa-right{right:22px}.ou-sa-left{left:22px}
.ou-sa-bubble{
  min-width:0;
  height:52px;
  max-width:min(260px,calc(100vw - 44px));
  padding:0 16px 0 10px;
  gap:10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:linear-gradient(135deg,var(--ou-sa-launcher-bg,#111),var(--ou-sa-launcher-bg-2,#d54391));
  color:var(--ou-sa-launcher-text,#fff);
  box-shadow:0 14px 34px rgba(17,17,24,.22),0 2px 10px rgba(17,17,24,.12);
  -webkit-backdrop-filter:saturate(1.25) blur(10px);
  backdrop-filter:saturate(1.25) blur(10px);
}
.ou-sa-bubble::after{
  content:"";
  position:absolute;
  right:6px;
  top:6px;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#38d878;
  border:2px solid color-mix(in srgb,var(--ou-sa-launcher-bg,#111) 55%,#fff);
  box-shadow:0 0 0 4px rgba(56,216,120,.12);
}
.ou-sa-bubble-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:inherit;
  font-size:13px;
  font-weight:950;
  letter-spacing:-.08em;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
.ou-sa-bubble-label{
  max-width:170px;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:13px;
  font-weight:850;
  letter-spacing:-.015em;
}
.ou-sa-bubble:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(17,17,24,.26),0 4px 16px rgba(17,17,24,.16)}
.ou-sa-bubble.is-open{transform:translateY(0) scale(.97);box-shadow:0 10px 26px rgba(17,17,24,.20)}
.ou-sa-panel{bottom:70px;width:410px;border-radius:26px;border:1px solid rgba(17,17,24,.08);box-shadow:0 24px 70px rgba(17,17,24,.22);}
.ou-sa-head{padding:15px 16px;background:linear-gradient(135deg,var(--ou-sa-header-bg,#111),var(--ou-sa-header-bg-2,#2a1725));}
.ou-sa-agent-avatar{width:38px;height:38px;background:rgba(255,255,255,.14);font-size:13px;}
.ou-sa-close,.ou-sa-reset{background:rgba(255,255,255,.10);transition:background .16s ease,transform .16s ease}.ou-sa-close:hover,.ou-sa-reset:hover{transform:translateY(-1px)}
.ou-sa-theme-minimal .ou-sa-bubble,.ou-sa-theme-modern .ou-sa-bubble{background:rgba(17,17,22,.92);color:#fff;border-color:rgba(255,255,255,.16)}
.ou-sa-theme-minimal .ou-sa-bubble-icon,.ou-sa-theme-modern .ou-sa-bubble-icon{background:linear-gradient(135deg,var(--ou-sa-accent,#d54391),#ef7abb);color:#fff;}
.ou-sa-theme-light .ou-sa-bubble{background:rgba(255,255,255,.92);color:#15151a;border-color:rgba(17,17,24,.10);box-shadow:0 14px 34px rgba(17,17,24,.16)}
.ou-sa-theme-light .ou-sa-bubble-icon{background:linear-gradient(135deg,var(--ou-sa-accent,#d54391),#ef7abb);color:#fff;}
@media(max-width:480px){.ou-sa-floating{right:16px;left:auto;bottom:16px}.ou-sa-panel{bottom:68px;width:calc(100vw - 32px)}.ou-sa-bubble{width:54px;min-width:54px;height:54px;padding:0;justify-content:center}.ou-sa-bubble-label{display:none}.ou-sa-bubble-icon{width:36px;height:36px}}


/* Avatar personalizable del launcher y cabecera */
.ou-sa-bubble-icon.ou-sa-avatar-image,
.ou-sa-agent-avatar.ou-sa-avatar-image{
  padding:0!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.16)!important;
  color:transparent!important;
}
.ou-sa-bubble-icon.ou-sa-avatar-image img,
.ou-sa-agent-avatar.ou-sa-avatar-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.ou-sa-bubble-icon.ou-sa-avatar-text,
.ou-sa-agent-avatar.ou-sa-avatar-text{
  text-transform:uppercase;
}
.ou-sa-bubble .ou-sa-bubble-label:first-child{padding-left:2px;}
.ou-sa-agent-id > div:first-child{min-width:0;}

.ou-sa-chat.ou-sa-launcher-circle .ou-sa-bubble{
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  height:58px!important;
  padding:0!important;
  border-radius:999px!important;
  justify-content:center!important;
  gap:0!important;
}
.ou-sa-chat.ou-sa-launcher-circle .ou-sa-bubble-label{display:none!important;}
.ou-sa-chat.ou-sa-launcher-circle .ou-sa-bubble-icon{
  width:38px!important;
  height:38px!important;
  font-size:13px!important;
}
.ou-sa-chat.ou-sa-launcher-pill .ou-sa-bubble{
  width:auto!important;
  min-width:0!important;
  max-width:min(260px,calc(100vw - 44px))!important;
  height:52px!important;
  padding:0 16px 0 10px!important;
  gap:10px!important;
}
.ou-sa-chat.ou-sa-launcher-pill .ou-sa-bubble-label{display:inline-block!important;}

.ou-sa-chat.ou-sa-theme-modern .ou-sa-panel{
  border-radius:26px!important;
  border-color:rgba(213,67,145,.16)!important;
  box-shadow:0 24px 70px rgba(17,17,24,.24)!important;
}
.ou-sa-chat.ou-sa-theme-modern .ou-sa-head{
  background:linear-gradient(135deg,var(--ou-sa-header-bg,#171217),var(--ou-sa-header-bg-2,#2a1725))!important;
  color:var(--ou-sa-header-text,#fff)!important;
}
.ou-sa-chat.ou-sa-theme-modern .ou-sa-bubble{
  background:linear-gradient(135deg,var(--ou-sa-launcher-bg,#d54391),var(--ou-sa-launcher-bg-2,#2a1725))!important;
  color:var(--ou-sa-launcher-text,#fff)!important;
}
.ou-sa-chat.ou-sa-theme-modern .ou-sa-bubble-icon{
  background:rgba(255,255,255,.16)!important;
  color:var(--ou-sa-launcher-text,#fff)!important;
}

.ou-sa-chat.ou-sa-theme-light .ou-sa-panel{
  border-radius:24px!important;
  background:#fff!important;
  color:#15151a!important;
  border-color:rgba(17,17,24,.10)!important;
  box-shadow:0 20px 58px rgba(17,17,24,.18)!important;
}
.ou-sa-chat.ou-sa-theme-light .ou-sa-head{
  background:#ffffff!important;
  color:#15151a!important;
  border-bottom:1px solid #ececf1!important;
}
.ou-sa-chat.ou-sa-theme-light .ou-sa-agent-avatar,
.ou-sa-chat.ou-sa-theme-light .ou-sa-reset,
.ou-sa-chat.ou-sa-theme-light .ou-sa-close{
  background:#f3f3f6!important;
  color:#15151a!important;
}
.ou-sa-chat.ou-sa-theme-light .ou-sa-bubble{
  background:#ffffff!important;
  color:#15151a!important;
  border-color:rgba(17,17,24,.12)!important;
  box-shadow:0 14px 34px rgba(17,17,24,.16)!important;
}
.ou-sa-chat.ou-sa-theme-light .ou-sa-bubble-icon{
  background:linear-gradient(135deg,var(--ou-sa-launcher-bg,#d54391),var(--ou-sa-launcher-bg-2,#2a1725))!important;
  color:#fff!important;
}

.ou-sa-chat.ou-sa-theme-minimal .ou-sa-panel{
  border-radius:18px!important;
  border-color:rgba(17,17,24,.10)!important;
  box-shadow:0 18px 48px rgba(17,17,24,.18)!important;
}
.ou-sa-chat.ou-sa-theme-minimal .ou-sa-head{
  background:#ffffff!important;
  color:#111!important;
  border-bottom:1px solid #eeeeee!important;
}
.ou-sa-chat.ou-sa-theme-minimal .ou-sa-agent-avatar,
.ou-sa-chat.ou-sa-theme-minimal .ou-sa-reset,
.ou-sa-chat.ou-sa-theme-minimal .ou-sa-close{
  background:#f5f5f7!important;
  color:#111!important;
}
.ou-sa-chat.ou-sa-theme-minimal .ou-sa-bubble{
  background:#111111!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:0 12px 30px rgba(17,17,24,.22)!important;
}
.ou-sa-chat.ou-sa-theme-minimal .ou-sa-bubble-icon{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
}
@media(max-width:480px){
  .ou-sa-chat.ou-sa-launcher-pill .ou-sa-bubble{
    width:54px!important;min-width:54px!important;max-width:54px!important;height:54px!important;padding:0!important;justify-content:center!important;
  }
  .ou-sa-chat.ou-sa-launcher-pill .ou-sa-bubble-label{display:none!important;}
}

/* RC90: lectura comercial clara dentro del chat */
.ou-sa-msg-assistant > div p{margin:0 0 10px;line-height:1.58}
.ou-sa-msg-assistant > div p:last-child{margin-bottom:0}
.ou-sa-msg-list{margin:2px 0 4px 0!important;padding-left:0!important;list-style:none!important;display:flex;flex-direction:column;gap:10px}
.ou-sa-msg-list li{position:relative;margin:0!important;padding:0 0 0 17px!important;line-height:1.58}
.ou-sa-msg-list li::before{content:"";position:absolute;left:0;top:.72em;width:6px;height:6px;border-radius:999px;background:var(--ou-sa-accent,#d54391)}
.ou-sa-msg-link{color:var(--ou-sa-accent,#d54391)!important;text-decoration:none!important;font-weight:800;border-bottom:1px solid color-mix(in srgb,var(--ou-sa-accent,#d54391) 35%,transparent)}
.ou-sa-msg-link:hover{border-bottom-color:var(--ou-sa-accent,#d54391)}
.ou-sa-entity-cards{display:flex;flex-direction:column;gap:9px;margin-top:12px}
.ou-sa-entity-card{background:#fff;border:1px solid rgba(17,17,24,.10);border-radius:14px;padding:11px 12px;box-shadow:0 8px 22px rgba(17,17,24,.06)}
.ou-sa-entity-card strong{display:block;font-size:14px;line-height:1.25;color:#111;margin-bottom:2px}
.ou-sa-entity-card small{display:inline-flex;text-transform:uppercase;font-size:10px;letter-spacing:.04em;font-weight:900;color:color-mix(in srgb,var(--ou-sa-accent,#d54391) 82%,#111);margin-bottom:7px}
.ou-sa-entity-card p{font-size:12.5px!important;line-height:1.45!important;margin:0 0 8px!important;color:#4a4a55!important}
.ou-sa-card-price{display:block;font-size:12px;font-weight:900;color:#111;margin:0 0 9px}
.ou-sa-entity-card a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#111;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;padding:7px 11px}
.ou-sa-entity-card a:hover{background:var(--ou-sa-accent,#d54391)}
.ou-sa-msg-assistant > div{line-height:1.56}
.ou-sa-handoff.is-suppressed{display:none!important}


/* RC92 - Ventana de chat responsive: conserva cabecera y evita paneles más altos que el viewport */
.ou-sa-chat .ou-sa-panel{
  display:flex!important;
  flex-direction:column!important;
  max-height:min(720px, calc(100dvh - 118px))!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.ou-sa-chat .ou-sa-head,
.ou-sa-chat .ou-sa-privacy,
.ou-sa-chat .ou-sa-quick,
.ou-sa-chat .ou-sa-handoff,
.ou-sa-chat .ou-sa-input-row,
.ou-sa-chat .ou-sa-lead-toggle,
.ou-sa-chat .ou-sa-powered{
  flex:0 0 auto!important;
}
.ou-sa-chat .ou-sa-messages{
  flex:1 1 auto!important;
  height:auto!important;
  min-height:170px!important;
  max-height:none!important;
  overflow:auto!important;
  overscroll-behavior:contain;
}
.ou-sa-chat .ou-sa-lead-form{
  flex:0 1 auto!important;
  max-height:min(340px, 42dvh)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
}
@media (max-height:760px){
  .ou-sa-chat .ou-sa-panel{max-height:calc(100dvh - 96px)!important;bottom:64px!important;border-radius:20px!important;}
  .ou-sa-chat .ou-sa-head{padding:11px 13px!important;}
  .ou-sa-chat .ou-sa-agent-avatar{width:32px!important;height:32px!important;}
  .ou-sa-chat .ou-sa-agent-id small{display:none!important;}
  .ou-sa-chat .ou-sa-privacy{padding:8px 12px!important;font-size:11px!important;}
  .ou-sa-chat .ou-sa-messages{min-height:135px!important;padding:12px!important;}
  .ou-sa-chat .ou-sa-msg>div{font-size:13px!important;line-height:1.44!important;}
  .ou-sa-chat .ou-sa-quick{padding:0 12px 9px!important;gap:5px!important;}
  .ou-sa-chat .ou-sa-quick button{padding:7px 9px!important;min-height:28px!important;font-size:11px!important;}
  .ou-sa-chat .ou-sa-handoff{margin:0 12px 9px!important;padding:10px!important;}
  .ou-sa-chat .ou-sa-input-row{padding:9px 12px!important;}
  .ou-sa-chat .ou-sa-powered{padding:6px 12px 8px!important;}
  .ou-sa-chat .ou-sa-lead-toggle{margin:0 12px 10px!important;padding:8px 11px!important;}
}
@media (max-height:620px){
  .ou-sa-chat .ou-sa-panel{max-height:calc(100dvh - 82px)!important;bottom:58px!important;}
  .ou-sa-chat .ou-sa-privacy{display:none!important;}
  .ou-sa-chat .ou-sa-messages{min-height:110px!important;}
  .ou-sa-chat .ou-sa-handoff p{font-size:12px!important;}
  .ou-sa-chat .ou-sa-powered{display:none!important;}
}
@media (max-width:640px){
  .ou-sa-chat.ou-sa-floating{right:12px!important;left:12px!important;bottom:12px!important;}
  .ou-sa-chat .ou-sa-panel{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:74px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100dvh - 96px)!important;
    border-radius:20px!important;
  }
  .ou-sa-chat .ou-sa-bubble{margin-left:auto!important;}
}
@media (max-width:380px){
  .ou-sa-chat .ou-sa-input-row{gap:6px!important;}
  .ou-sa-chat .ou-sa-input-row button{padding:9px 10px!important;font-size:13px!important;}
}

/* RC93 - Responsive móvil real: panel tipo app, cabecera siempre visible y sin desbordar viewport/teclado */
@media (max-width: 640px){
  body.ou-sa-chat-mobile-open{
    overflow:hidden!important;
    touch-action:none;
  }
  .ou-sa-chat.ou-sa-floating{
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:2147483647!important;
    pointer-events:none!important;
  }
  .ou-sa-chat.ou-sa-floating .ou-sa-bubble{
    pointer-events:auto!important;
    position:fixed!important;
    right:calc(14px + env(safe-area-inset-right))!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    margin:0!important;
    z-index:2147483647!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-bubble{
    display:none!important;
  }
  .ou-sa-chat .ou-sa-panel[hidden]{
    display:none!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-panel{
    pointer-events:auto!important;
    position:fixed!important;
    left:calc(8px + env(safe-area-inset-left))!important;
    right:calc(8px + env(safe-area-inset-right))!important;
    top:calc(var(--ou-sa-vv-top, 0px) + 8px + env(safe-area-inset-top))!important;
    bottom:auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:calc(var(--ou-sa-vh, 100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    max-height:none!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    border-radius:18px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    transform:none!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-head{
    flex:0 0 auto!important;
    min-height:54px!important;
    padding:10px 12px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-agent-avatar{
    width:32px!important;
    height:32px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-agent-id{
    min-width:0!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-agent-id strong{
    max-width:calc(100vw - 140px)!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-agent-id small{
    display:none!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-privacy{
    flex:0 0 auto!important;
    padding:7px 11px!important;
    font-size:11px!important;
    line-height:1.28!important;
    max-height:44px!important;
    overflow:auto!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-messages{
    flex:1 1 auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:auto!important;
    padding:11px!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-msg{
    margin-bottom:8px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-msg>div{
    max-width:92%!important;
    font-size:13px!important;
    line-height:1.45!important;
    padding:10px 12px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-quick{
    flex:0 0 auto!important;
    max-height:82px!important;
    overflow:auto!important;
    padding:0 11px 8px!important;
    gap:5px!important;
    -webkit-overflow-scrolling:touch;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-quick button{
    padding:7px 9px!important;
    min-height:30px!important;
    font-size:11px!important;
    line-height:1.1!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-handoff{
    flex:0 0 auto!important;
    max-height:118px!important;
    overflow:auto!important;
    margin:0 11px 8px!important;
    padding:9px!important;
    gap:6px!important;
    -webkit-overflow-scrolling:touch;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-handoff p{
    font-size:12px!important;
    line-height:1.32!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-input-row{
    flex:0 0 auto!important;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;
    gap:6px!important;
    align-items:center!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-input-row input{
    min-height:42px!important;
    font-size:16px!important;
    border-radius:12px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-input-row button{
    min-height:42px!important;
    padding:9px 11px!important;
    border-radius:12px!important;
    font-size:13px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-lead-toggle{
    flex:0 0 auto!important;
    margin:0 11px 9px!important;
    padding:8px 11px!important;
    font-size:12px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-lead-form{
    flex:0 1 auto!important;
    max-height:42%!important;
    overflow:auto!important;
    padding:0 11px 11px!important;
    gap:7px!important;
    -webkit-overflow-scrolling:touch;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-lead-form input,
  .ou-sa-chat.is-mobile-open .ou-sa-lead-form textarea{
    font-size:16px!important;
    border-radius:12px!important;
    padding:9px 10px!important;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-powered{
    display:none!important;
  }
}
@media (max-width: 640px) and (max-height: 620px){
  .ou-sa-chat.is-mobile-open .ou-sa-privacy{display:none!important;}
  .ou-sa-chat.is-mobile-open .ou-sa-quick{max-height:58px!important;}
  .ou-sa-chat.is-mobile-open .ou-sa-handoff{max-height:86px!important;}
  .ou-sa-chat.is-mobile-open .ou-sa-head{min-height:48px!important;padding:8px 10px!important;}
}
@media (max-width: 380px){
  .ou-sa-chat.is-mobile-open .ou-sa-panel{
    left:0!important;
    right:0!important;
    top:var(--ou-sa-vv-top, 0px)!important;
    height:var(--ou-sa-vh, 100dvh)!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }
}


/* RC94 - Cierre robusto + launcher circular más intuitivo */
.ou-sa-chat .ou-sa-head-actions,
.ou-sa-chat .ou-sa-close,
.ou-sa-chat .ou-sa-reset{
  position:relative!important;
  z-index:5!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
.ou-sa-chat .ou-sa-close{
  min-width:38px!important;
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:24px!important;
  line-height:1!important;
}
.ou-sa-chat .ou-sa-bubble{
  position:relative!important;
  overflow:visible!important;
  isolation:isolate;
}
.ou-sa-chat .ou-sa-launcher-hint{
  position:absolute;
  right:calc(100% + 10px);
  bottom:8px;
  width:max-content;
  max-width:210px;
  padding:9px 12px;
  border-radius:16px 16px 6px 16px;
  background:#ffffff;
  color:#17171c!important;
  box-shadow:0 12px 32px rgba(17,17,24,.18),0 2px 8px rgba(17,17,24,.08);
  font-size:12px;
  font-weight:850;
  line-height:1.2;
  letter-spacing:-.01em;
  white-space:normal;
  text-align:left;
  pointer-events:none;
  opacity:1;
  transform:translateY(0) scale(1);
  animation:ouSaHintPulse 7.5s ease-in-out infinite;
}
.ou-sa-chat .ou-sa-launcher-hint::after{
  content:"";
  position:absolute;
  right:-5px;
  bottom:13px;
  width:10px;
  height:10px;
  background:#ffffff;
  transform:rotate(45deg);
  box-shadow:2px -2px 4px rgba(17,17,24,.04);
}
.ou-sa-chat.ou-sa-left .ou-sa-launcher-hint{
  left:calc(100% + 10px);
  right:auto;
  border-radius:16px 16px 16px 6px;
}
.ou-sa-chat.ou-sa-left .ou-sa-launcher-hint::after{
  left:-5px;
  right:auto;
}
.ou-sa-chat.is-open .ou-sa-launcher-hint,
.ou-sa-chat.ou-sa-launcher-pill .ou-sa-launcher-hint{
  display:none!important;
}
.ou-sa-chat .ou-sa-bubble::before{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:999px;
  border:2px solid color-mix(in srgb,var(--ou-sa-accent,#d54391) 55%,transparent);
  opacity:.5;
  z-index:-1;
  animation:ouSaLauncherRing 2.4s ease-out infinite;
  pointer-events:none;
}
.ou-sa-chat.is-open .ou-sa-bubble::before{display:none!important;}
@keyframes ouSaLauncherRing{
  0%{transform:scale(.92);opacity:.55}
  70%{transform:scale(1.2);opacity:0}
  100%{transform:scale(1.2);opacity:0}
}
@keyframes ouSaHintPulse{
  0%,64%,100%{transform:translateY(0) scale(1);opacity:1}
  8%{transform:translateY(-2px) scale(1.015);opacity:1}
  72%,88%{transform:translateY(0) scale(1);opacity:.74}
}
@media(max-width:820px){
  .ou-sa-chat.ou-sa-floating{right:12px!important;left:12px!important;bottom:12px!important;}
  .ou-sa-chat .ou-sa-panel{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:74px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100dvh - 96px)!important;
    border-radius:20px!important;
  }
  .ou-sa-chat .ou-sa-bubble{margin-left:auto!important;}
  .ou-sa-chat .ou-sa-launcher-hint{
    right:0;
    bottom:calc(100% + 9px);
    max-width:min(245px, calc(100vw - 32px));
    border-radius:16px 16px 6px 16px;
  }
  .ou-sa-chat .ou-sa-launcher-hint::after{
    right:22px;
    bottom:-5px;
  }
  .ou-sa-chat.is-mobile-open .ou-sa-panel{
    left:calc(8px + env(safe-area-inset-left))!important;
    right:calc(8px + env(safe-area-inset-right))!important;
    top:calc(var(--ou-sa-vv-top, 0px) + 8px + env(safe-area-inset-top))!important;
    height:calc(var(--ou-sa-vh, 100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    bottom:auto!important;
    max-height:none!important;
  }
}
@media(max-width:420px){
  .ou-sa-chat .ou-sa-launcher-hint{
    font-size:11px;
    padding:8px 10px;
    max-width:210px;
  }
}


/* RC95 - cierre real del panel y estado cerrado respetado */
.ou-sa-chat .ou-sa-panel[hidden],
.ou-sa-chat .ou-sa-panel[aria-hidden="true"]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.ou-sa-chat:not(.is-open):not(.is-mobile-open) .ou-sa-panel[hidden]{
  display:none!important;
}
.ou-sa-chat.is-open .ou-sa-bubble,
.ou-sa-chat.is-mobile-open .ou-sa-bubble{
  display:none!important;
}
.ou-sa-chat .ou-sa-close{
  cursor:pointer!important;
  user-select:none!important;
  -webkit-tap-highlight-color:transparent!important;
  touch-action:manipulation!important;
}

/* v0.61.1 - Calendario inline dentro del chat */
.ou-sa-booking-widget{width:100%;}
.ou-sa-booking-widget>.ou-sa-booking-card,
.ou-sa-msg-assistant.ou-sa-booking-widget>div{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  background:var(--ou-sa-assistant-bg,#f3f3f6)!important;
  color:var(--ou-sa-assistant-text,#15151a)!important;
  border:1px solid color-mix(in srgb,var(--ou-sa-input-border,#ddd) 70%,transparent);
  border-radius:18px;
  padding:14px;
}
.ou-sa-booking-title{display:block;font-size:15px;line-height:1.25;margin:0 0 6px;color:inherit;}
.ou-sa-booking-intro{margin:0 0 12px!important;font-size:13px!important;line-height:1.45!important;color:color-mix(in srgb,var(--ou-sa-assistant-text,#15151a) 76%,transparent)!important;}
.ou-sa-mini-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;}
.ou-sa-mini-calendar-head strong{text-transform:capitalize;font-size:13px;line-height:1.2;color:inherit;}
.ou-sa-mini-calendar-head button{width:30px;height:30px;border:1px solid var(--ou-sa-quick-border,#d9d9e2);border-radius:999px;background:var(--ou-sa-quick-bg,#fff);color:var(--ou-sa-quick-text,#15151a);font-weight:900;cursor:pointer;padding:0;}
.ou-sa-mini-calendar-head button:disabled{opacity:.35;cursor:not-allowed;}
.ou-sa-mini-weekdays,.ou-sa-mini-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;}
.ou-sa-mini-weekdays span{text-align:center;font-size:10px;font-weight:900;color:color-mix(in srgb,var(--ou-sa-assistant-text,#15151a) 62%,transparent);}
.ou-sa-mini-days{margin-top:5px;}
.ou-sa-mini-days button,.ou-sa-mini-days .is-empty{min-height:34px;border-radius:10px;border:1px solid transparent;background:transparent;color:inherit;position:relative;font-weight:850;font-size:12px;display:flex;align-items:center;justify-content:center;padding:0;}
.ou-sa-mini-days button.has-slots{background:var(--ou-sa-quick-bg,#fff);border-color:var(--ou-sa-quick-border,#d9d9e2);cursor:pointer;}
.ou-sa-mini-days button.has-slots:hover{border-color:var(--ou-sa-send-bg,#d54391);color:var(--ou-sa-send-bg,#d54391);}
.ou-sa-mini-days button.is-active{background:var(--ou-sa-send-bg,#d54391);border-color:var(--ou-sa-send-bg,#d54391);color:var(--ou-sa-send-text,#fff);box-shadow:0 8px 18px color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 24%,transparent);}
.ou-sa-mini-days button.is-disabled{opacity:.28;cursor:not-allowed;}
.ou-sa-mini-days button i{position:absolute;right:3px;top:3px;min-width:14px;height:14px;border-radius:999px;background:color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 14%,#fff);color:var(--ou-sa-send-bg,#d54391);font-style:normal;font-size:9px;line-height:14px;text-align:center;font-weight:950;}
.ou-sa-mini-days button.is-active i{background:rgba(255,255,255,.22);color:inherit;}
.ou-sa-booking-times{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px;align-items:center;}
.ou-sa-booking-times-label{width:100%;font-size:11px;font-weight:900;color:color-mix(in srgb,var(--ou-sa-assistant-text,#15151a) 68%,transparent);text-transform:uppercase;letter-spacing:.04em;}
.ou-sa-booking-time{border:1px solid var(--ou-sa-quick-border,#d9d9e2);border-radius:999px;background:var(--ou-sa-quick-bg,#fff);color:var(--ou-sa-quick-text,#15151a);font-size:12px;font-weight:900;padding:7px 10px;cursor:pointer;}
.ou-sa-booking-time:hover,.ou-sa-booking-time.is-active{background:var(--ou-sa-send-bg,#d54391);border-color:var(--ou-sa-send-bg,#d54391);color:var(--ou-sa-send-text,#fff);}
.ou-sa-booking-selected{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 24%,transparent);background:color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 7%,#fff);border-radius:14px;margin:0 0 10px;}
.ou-sa-booking-selected span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:950;color:var(--ou-sa-send-bg,#d54391);}
.ou-sa-booking-selected strong{font-size:13px;color:var(--ou-sa-input-text,#111);}
.ou-sa-booking-selected small{font-size:11px;color:color-mix(in srgb,var(--ou-sa-input-text,#111) 68%,transparent);}
.ou-sa-booking-inline-form{display:flex;flex-direction:column;gap:10px;margin:0!important;padding:0!important;background:transparent!important;border:0!important;}
.ou-sa-booking-inline-form label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:12px;font-weight:850;color:var(--ou-sa-assistant-text,#15151a);}
.ou-sa-booking-inline-form label span{font-size:11px;font-weight:900;color:color-mix(in srgb,var(--ou-sa-assistant-text,#15151a) 72%,transparent);}
.ou-sa-booking-contact-grid{display:grid;grid-template-columns:1fr;gap:8px;}
.ou-sa-booking-inline-form input,
.ou-sa-booking-inline-form select,
.ou-sa-booking-inline-form textarea,
.ou-sa-booking-free-date input{width:100%;box-sizing:border-box;border:1px solid var(--ou-sa-input-border,#ddd);border-radius:12px;background:var(--ou-sa-input-bg,#fff);color:var(--ou-sa-input-text,#111);padding:10px 11px;font-size:13px;line-height:1.2;}
.ou-sa-booking-inline-form textarea{resize:vertical;min-height:72px;}
.ou-sa-booking-inline-form .ou-sa-consent{display:flex;flex-direction:row;align-items:flex-start;gap:8px;font-size:11px;font-weight:700;line-height:1.35;color:color-mix(in srgb,var(--ou-sa-assistant-text,#15151a) 74%,transparent)!important;}
.ou-sa-booking-inline-form .ou-sa-consent input{width:auto;margin-top:2px;}
.ou-sa-booking-inline-form button[type="submit"]{border:0;border-radius:999px;background:var(--ou-sa-send-bg,#d54391);color:var(--ou-sa-send-text,#fff);font-weight:950;padding:11px 14px;cursor:pointer;box-shadow:0 10px 22px color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 24%,transparent);}
.ou-sa-booking-inline-form button[type="submit"]:disabled{opacity:.62;cursor:not-allowed;}
.ou-sa-booking-result{margin:0!important;font-size:12px!important;font-weight:850!important;line-height:1.35!important;}
.ou-sa-booking-result.is-ok{color:#126b35!important;}
.ou-sa-booking-result.is-error{color:#b3261e!important;}
.ou-sa-booking-no-slots{padding:10px 12px;border:1px dashed color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 35%,transparent);border-radius:14px;background:color-mix(in srgb,var(--ou-sa-send-bg,#d54391) 6%,transparent);font-size:12px;line-height:1.4;}
.ou-sa-booking-free-date{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;}
.ou-sa-booking-widget.is-submitted .ou-sa-booking-calendar-wrap,
.ou-sa-booking-widget.is-submitted .ou-sa-booking-times,
.ou-sa-booking-widget.is-submitted .ou-sa-booking-inline-form label,
.ou-sa-booking-widget.is-submitted .ou-sa-booking-inline-form button[type="submit"]{display:none;}
@media(min-width:380px){.ou-sa-booking-contact-grid{grid-template-columns:1fr 1fr}.ou-sa-booking-contact-grid label:first-child{grid-column:1 / -1}}
@media(max-width:480px){.ou-sa-booking-free-date{grid-template-columns:1fr}.ou-sa-mini-days button,.ou-sa-mini-days .is-empty{min-height:32px}.ou-sa-booking-widget>.ou-sa-booking-card,.ou-sa-msg-assistant.ou-sa-booking-widget>div{padding:12px;border-radius:16px}}


/* OU Smart Agent 0.61.4 - CTA visible de cita en el chat */
.ou-sa-chat .ou-sa-booking-toggle{
  display:block;
  width:calc(100% - 28px);
  margin:0 14px 14px;
  background:var(--ou-sa-accent)!important;
  color:#fff!important;
  border:0!important;
  border-radius:14px;
  padding:10px 13px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(213,67,145,.22);
  text-align:center;
}
.ou-sa-chat .ou-sa-booking-toggle:hover{
  filter:brightness(.96);
  transform:translateY(-1px);
}
.ou-sa-chat .ou-sa-booking-toggle:focus-visible{
  outline:3px solid rgba(213,67,145,.28);
  outline-offset:2px;
}
@media(max-width:480px){
  .ou-sa-chat .ou-sa-booking-toggle{margin:0 12px 10px!important;padding:8px 11px!important;}
}


/* 0.61.10 - Logo personalizado independiente para la burbuja flotante */
.ou-sa-chat .ou-sa-bubble-icon.ou-sa-launcher-avatar-image{
  background:#fff!important;
  color:transparent!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 4px 14px rgba(0,0,0,.16)!important;
}
.ou-sa-chat .ou-sa-bubble-icon.ou-sa-launcher-avatar-image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:inherit!important;
}


/* OU Smart Agent 0.61.19 - Ajuste visual del CTA de cita */
.ou-sa-chat .ou-sa-lead-toggle,
.ou-sa-chat .ou-sa-booking-toggle{
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:calc(100% - 28px);
  min-height:40px;
  margin-left:14px;
  margin-right:14px;
  padding:10px 14px!important;
  border-radius:14px;
  font:inherit;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
}
.ou-sa-chat .ou-sa-lead-toggle{
  margin-bottom:10px;
}
.ou-sa-chat .ou-sa-booking-toggle{
  margin-top:0;
  margin-bottom:14px;
  box-shadow:0 4px 12px rgba(213,67,145,.14);
  transition:filter .16s ease,transform .16s ease,box-shadow .16s ease;
}
.ou-sa-chat .ou-sa-booking-toggle:hover{
  box-shadow:0 6px 16px rgba(213,67,145,.18);
}
@media(max-width:480px){
  .ou-sa-chat .ou-sa-lead-toggle,
  .ou-sa-chat .ou-sa-booking-toggle{
    width:calc(100% - 24px);
    min-height:40px;
    margin-left:12px!important;
    margin-right:12px!important;
    padding:10px 13px!important;
  }
  .ou-sa-chat .ou-sa-lead-toggle{margin-bottom:9px!important;}
  .ou-sa-chat .ou-sa-booking-toggle{margin-bottom:12px!important;}
  .ou-sa-chat .ou-sa-booking-toggle:hover{transform:none;}
}
