.diana-crm-shell{position:fixed;bottom:20px;left:18px;z-index:99998;font:14px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;color:#193b4d;isolation:isolate}.diana-crm-shell *{box-sizing:border-box}.diana-crm-shell button,.diana-crm-shell input,.diana-crm-shell textarea{font:inherit}.diana-crm-shell button{cursor:pointer}.diana-crm-shell [hidden]{display:none!important}.diana-crm-launch{background:#143a52;color:white;border:1px solid #41687c;border-radius:36px;padding:13px 20px;font-weight:750;box-shadow:0 10px 26px #173b5370}.diana-crm-launch:hover{background:#0e2c3e}.diana-crm-panel{position:absolute;bottom:63px;left:0;width:min(410px,calc(100vw - 24px));height:min(620px,calc(100dvh - 100px));display:flex;flex-direction:column;background:white;border:1px solid #cbd9e1;border-radius:18px;box-shadow:0 20px 58px #0d2b3c67;overflow:hidden}.diana-crm-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:17px 18px;background:linear-gradient(130deg,#143a52,#24617a);color:white;border-bottom:3px solid #d4b16d}.diana-crm-head strong{font-size:20px;display:block;color:white}.diana-crm-head small{font-size:12px;display:block;color:#dfedf3}.diana-crm-close{border:1px solid #a6bfcf;background:#ffffff1d;color:white;border-radius:8px;padding:6px 12px}.diana-crm-start{padding:19px;overflow:auto;flex:1}.diana-crm-greeting{background:#f1f5f8;color:#24465c;border-left:3px solid #d4b16d;border-radius:9px;padding:13px;line-height:1.6;margin:0 0 13px}.diana-crm-start label:not(.diana-crm-consent){display:block;font-weight:700;margin:10px 0 5px}.diana-crm-start input[type=text],.diana-crm-start textarea,.diana-crm-compose textarea,.diana-crm-handoff input[type=tel]{width:100%;border:1px solid #b8cbd7;border-radius:9px;background:white;color:#1d3f53;padding:11px;outline-color:#194760}.diana-crm-start textarea{resize:vertical;min-height:74px}.diana-crm-consent{display:flex;gap:8px;align-items:flex-start;font-size:11px;line-height:1.5;color:#56707f;margin:13px 0}.diana-crm-consent input{margin-top:3px}.diana-crm-consent a{color:#155574}.diana-crm-primary,.diana-crm-compose button,.diana-crm-handoff button{border:0;border-radius:9px;background:#143a52;color:white;padding:11px 14px;font-weight:750}.diana-crm-primary{width:100%}.diana-crm-error{font-size:12px;color:#9f2727}.diana-crm-conversation{display:flex;flex:1;min-height:0;flex-direction:column}.diana-crm-messages{background:#fbfcfe;padding:14px;overflow:auto;flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}.diana-crm-msg{max-width:91%;padding:11px 13px;border-radius:13px;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.6}.diana-crm-bot{align-self:flex-start;background:#edf3f6;color:#204358}.diana-crm-user{align-self:flex-end;background:#dceaf4;color:#17405b}.diana-crm-compose{display:flex;gap:8px;padding:11px;border-top:1px solid #dde7ed;background:white}.diana-crm-compose textarea{min-width:0;flex:1;resize:none;font-size:13px}.diana-crm-compose button:disabled{opacity:.5}.diana-crm-handoff{margin:0 12px 10px;padding:12px;border-radius:11px;border:1px solid #c8dbe7;background:#f2f7fa;max-height:248px;overflow:auto}.diana-crm-handoff p{font-size:12px;margin:0 0 8px}.diana-crm-handoff label{display:block;font-size:12px;font-weight:700;margin-bottom:5px}.diana-crm-handoff .diana-crm-handoff-consent{display:flex;align-items:flex-start;gap:7px;font-weight:400;font-size:11px;line-height:1.45;margin:9px 0}.diana-crm-handoff button{width:100%;font-size:12px}.diana-crm-handoff a{display:block;text-align:center;background:#143a52;color:white!important;border-radius:9px;text-decoration:none;padding:9px;font-weight:700}.diana-crm-handoff small{font-size:10px;color:#607785;display:block;margin-top:8px}.diana-crm-handoff [role=status]{font-size:12px;color:#31586d;margin:7px 0}.diana-crm-centers{border:1px solid #cbdfe7;border-radius:10px;background:white;padding:10px;font-size:12px}.diana-crm-centers strong{display:block;color:#193e52}.diana-crm-centers a{display:block;color:#145671;text-decoration:underline;font-weight:650;margin-top:8px}.diana-crm-centers small{display:block;color:#607685}.diana-crm-sources{font-size:11px;color:#546f7c}.diana-crm-sources a{color:#145671;margin-right:8px}.diana-crm-foot{background:#f7f9fa;border-top:1px solid #e6ecef;text-align:center;color:#718895;font-size:10px;padding:8px}.diana-crm-shell button:focus-visible,.diana-crm-shell input:focus-visible,.diana-crm-shell textarea:focus-visible{outline:2px solid #d4b16d;outline-offset:2px}@media(max-width:500px){.diana-crm-shell{left:10px;bottom:10px}.diana-crm-panel{bottom:58px;width:calc(100vw - 20px);height:min(660px,calc(100dvh - 90px))}}


/* 0.8.1: faithful first approved visual, resistant to ListingHive/Elementor button skins. */
#diana-crm-shell {
  --diana-petrol: #143a52;
  --diana-petrol-hover: #0e2c3e;
  --diana-gold: #e4c17d;
  --diana-ink: #18394a;
}
#diana-crm-shell #diana-crm-panel {
  width: min(430px, calc(100vw - 24px));
  border: 1px solid #cbd9e1;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(13,43,60,.32);
}
#diana-crm-shell #diana-crm-panel:has(#diana-crm-start:not([hidden])) {
  height: auto;
  max-height: calc(100dvh - 105px);
}
#diana-crm-shell .diana-crm-head {
  background: var(--diana-petrol) !important;
  border-bottom: none !important;
  padding: 18px 20px;
  color: #fff !important;
}
#diana-crm-shell .diana-crm-identity { min-width: 0; flex: 1; }
#diana-crm-shell .diana-crm-headline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#diana-crm-shell .diana-crm-head strong { color: #fff !important; font-weight: 750; font-size: 21px; }
#diana-crm-shell .diana-crm-role { color: var(--diana-gold) !important; font-size: 11px; font-weight: 750; white-space: nowrap; }
#diana-crm-shell .diana-crm-head small { color: #e7f1f5 !important; font-size: 11px; }
#diana-crm-shell .diana-crm-greeting { background: #f0f4f6 !important; border-left: 0 !important; border-radius: 13px; color: #193b4d !important; padding: 15px 14px; }
#diana-crm-shell .diana-crm-start { background: #fff; padding: 15px; }
#diana-crm-shell .diana-crm-start label:not(.diana-crm-consent) { color: #214458 !important; font-weight: 700; font-size: 12px; }
#diana-crm-shell .diana-crm-start input[type=text],
#diana-crm-shell .diana-crm-start textarea,
#diana-crm-shell .diana-crm-compose textarea,
#diana-crm-shell .diana-crm-handoff input[type=tel] {
  background: #fff !important;
  border: 1px solid #b9cdd9 !important;
  color: #193b4d !important;
  box-shadow: none !important;
  border-radius: 9px !important;
  padding: 12px 13px !important;
}
#diana-crm-shell .diana-crm-start textarea { min-height: 58px; }
#diana-crm-shell .diana-crm-start input::placeholder,
#diana-crm-shell .diana-crm-start textarea::placeholder { color: #778a96; opacity: 1; }
#diana-crm-shell button.diana-crm-primary,
#diana-crm-shell button.diana-crm-launch,
#diana-crm-shell .diana-crm-compose button,
#diana-crm-shell .diana-crm-handoff button,
#diana-crm-shell .diana-crm-handoff a {
  background: var(--diana-petrol) !important;
  background-image: none !important;
  color: #fff !important;
  border: 1px solid var(--diana-petrol) !important;
  box-shadow: none;
  font-weight: 750 !important;
  text-transform: none !important;
  text-shadow: none !important;
  letter-spacing: normal !important;
}
#diana-crm-shell button.diana-crm-launch { border-radius: 30px !important; padding: 13px 19px !important; box-shadow: 0 9px 26px rgba(16,49,68,.28) !important; }
#diana-crm-shell button.diana-crm-primary { border-radius: 12px !important; padding: 13px 16px !important; }
#diana-crm-shell button.diana-crm-primary:hover,
#diana-crm-shell button.diana-crm-launch:hover,
#diana-crm-shell .diana-crm-compose button:hover,
#diana-crm-shell .diana-crm-handoff button:hover,
#diana-crm-shell .diana-crm-handoff a:hover { background: var(--diana-petrol-hover) !important; color: #fff !important; }
#diana-crm-shell button.diana-crm-close { background: transparent !important; background-image: none !important; color: #fff !important; border: 1px solid #9cb4c3 !important; padding: 7px 10px !important; border-radius: 9px !important; box-shadow: none !important; }
#diana-crm-shell .diana-crm-consent { color: #506c7a !important; }
#diana-crm-shell .diana-crm-consent a { color: #1b5473 !important; }
#diana-crm-shell .diana-crm-conversation { background: #fff; }
#diana-crm-shell .diana-crm-bot { background: #eff4f6 !important; color: var(--diana-ink) !important; }
#diana-crm-shell .diana-crm-user { background: #dceaf4 !important; color: var(--diana-ink) !important; }
#diana-crm-shell .diana-crm-foot { color: #64808f; }
@media (max-width: 500px) {
  #diana-crm-shell #diana-crm-panel { width: calc(100vw - 20px); }
  #diana-crm-shell .diana-crm-head { padding: 16px; }
}

/* 0.8.5: readable full-department results. All matching centers are included. */
#diana-crm-shell .diana-crm-centers{padding:10px 11px;display:flex;flex-direction:column;gap:8px}
#diana-crm-shell .diana-crm-center-card{border:1px solid #dce7ed;border-radius:10px;padding:10px;background:#fff}
#diana-crm-shell .diana-crm-center-card strong{font-size:12px;color:#163e53;display:block}
#diana-crm-shell .diana-crm-center-card small{margin-top:4px;line-height:1.55;color:#445f6e;display:block}
#diana-crm-shell .diana-crm-center-card a{display:inline-block;margin-top:6px;font-size:12px;text-decoration:underline;color:#155a7c}

.diana-crm-booking-note,.diana-crm-fee{font-size:12px;line-height:1.45;color:#25485d;background:#eef4f7;padding:10px;border-radius:9px}.diana-crm-handoff select,.diana-crm-handoff input[type=date]{width:100%;padding:10px;border:1px solid #b9ccd7;border-radius:8px;background:white;color:#173c51}.diana-crm-booking-note{margin:7px 0}.diana-crm-handoff [hidden]{display:none!important}

/* 0.9.5 — International phone selector and full-name input. */
#diana-crm-shell #diana-crm-phone-country,
#diana-crm-shell #diana-crm-contact-phone,
#diana-crm-shell #diana-crm-caregiver-full,
#diana-crm-shell #diana-crm-patient-full,
#diana-crm-shell #diana-crm-relation {
  width:100%; max-width:100%; box-sizing:border-box; display:block;
  border:1px solid #b9cdd9; border-radius:9px; padding:11px 13px;
  color:#193b4d; background:#fff; font:inherit; margin-bottom:8px;
}
#diana-crm-shell #diana-crm-phone-country {cursor:pointer;}
#diana-crm-shell .diana-crm-handoff small {line-height:1.45;}

#diana-crm-shell .diana-crm-msg a.diana-crm-inline-link{color:#145671;text-decoration:underline;font-weight:650;overflow-wrap:anywhere}

/* Catálogo inicial: lectura clara en móviles y escritorios. */
#diana-crm-shell .diana-crm-greeting p{margin:0 0 8px;}
#diana-crm-shell .diana-crm-greeting ol{margin:6px 0 10px;padding-left:21px;}
#diana-crm-shell .diana-crm-greeting li{margin:4px 0;}

/* 0.12.7: adjustable accessibility text sizes (including people with low vision).
 * Scope strictly to Diana's own widget. No impact on the site theme. */
#diana-crm-shell{--diana-readable-scale:1;}
#diana-crm-shell[data-text-size="normal"]{--diana-readable-scale:1;}
#diana-crm-shell[data-text-size="grande"]{--diana-readable-scale:1.2;}
#diana-crm-shell[data-text-size="muy-grande"]{--diana-readable-scale:1.4;}
#diana-crm-shell[data-text-size="extra-grande"]{--diana-readable-scale:1.6;}
#diana-crm-shell .diana-crm-text-controls{background:#fff;border-bottom:1px solid #dce7ed;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:9px 15px;flex-shrink:0;}
#diana-crm-shell .diana-crm-text-controls label{font-size:15px;font-weight:700;color:#214458;margin:0;}
#diana-crm-shell .diana-crm-text-controls select{appearance:auto;min-height:43px;max-width:100%;background:#fff!important;color:#193b4d!important;border:1px solid #99b3c3;border-radius:8px;box-shadow:none;padding:7px 30px 7px 11px;font-size:16px!important;font-weight:650;}
#diana-crm-shell .diana-crm-text-controls select:focus-visible{outline:3px solid #d4b16d;outline-offset:2px;}
#diana-crm-shell .diana-crm-greeting,
#diana-crm-shell .diana-crm-greeting p,
#diana-crm-shell .diana-crm-greeting li,
#diana-crm-shell .diana-crm-msg,
#diana-crm-shell .diana-crm-center-card small,
#diana-crm-shell .diana-crm-center-card strong,
#diana-crm-shell .diana-crm-center-card a,
#diana-crm-shell .diana-crm-centers,
#diana-crm-shell .diana-crm-sources,
#diana-crm-shell .diana-crm-sources a,
#diana-crm-shell .diana-crm-handoff p,
#diana-crm-shell .diana-crm-handoff label,
#diana-crm-shell .diana-crm-handoff small,
#diana-crm-shell .diana-crm-handoff [role=status],
#diana-crm-shell .diana-crm-booking-note,
#diana-crm-shell .diana-crm-fee,
#diana-crm-shell .diana-crm-error,
#diana-crm-shell .diana-crm-foot{
  font-size:calc(16px * var(--diana-readable-scale))!important;
  line-height:1.55!important;
}
#diana-crm-shell .diana-crm-start label:not(.diana-crm-consent),
#diana-crm-shell .diana-crm-consent,
#diana-crm-shell .diana-crm-handoff .diana-crm-handoff-consent,
#diana-crm-shell .diana-crm-start input,
#diana-crm-shell .diana-crm-start textarea,
#diana-crm-shell .diana-crm-compose textarea,
#diana-crm-shell .diana-crm-compose button,
#diana-crm-shell .diana-crm-handoff input,
#diana-crm-shell .diana-crm-handoff select,
#diana-crm-shell .diana-crm-handoff button,
#diana-crm-shell .diana-crm-handoff a,
#diana-crm-shell .diana-crm-primary{
  font-size:calc(16px * var(--diana-readable-scale))!important;
  line-height:1.45!important;
}
#diana-crm-shell .diana-crm-msg{overflow-wrap:anywhere;}
#diana-crm-shell .diana-crm-start, #diana-crm-shell .diana-crm-messages{scrollbar-gutter:stable;}
#diana-crm-shell .diana-crm-start textarea,#diana-crm-shell .diana-crm-compose textarea{min-height:58px;}
#diana-crm-shell[data-text-size="muy-grande"] #diana-crm-panel,
#diana-crm-shell[data-text-size="extra-grande"] #diana-crm-panel{width:min(530px,calc(100vw - 24px));}
@media(max-width:500px){
  #diana-crm-shell .diana-crm-text-controls{padding:8px 12px;}
  #diana-crm-shell[data-text-size="muy-grande"] #diana-crm-panel,
  #diana-crm-shell[data-text-size="extra-grande"] #diana-crm-panel{width:calc(100vw - 20px);}
}

/* Keep ancillary notice legible without letting it crowd out the service menu. */
#diana-crm-shell .diana-crm-foot{font-size:calc(13px * var(--diana-readable-scale))!important;line-height:1.4!important;}

/* Service selectors inherit the existing accessible text-size preference. */
#diana-crm-shell .diana-crm-service-menu label{display:flex;align-items:flex-start;gap:.55em;font-size:inherit;line-height:inherit;cursor:pointer;}
#diana-crm-shell .diana-crm-service-menu input[type=checkbox]{width:1.15em;height:1.15em;flex:0 0 1.15em;margin:.22em 0 0;accent-color:#1c6a53;}
#diana-crm-shell .diana-crm-service-menu li{margin-bottom:.4em;}

/* 1.4.7: clear, white editable fields in signed administrator preview only. */
#diana-crm-shell[data-diana-preview="1"] #diana-v14-fields input[type="text"],
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff input[type="tel"],
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff input[type="date"],
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff select,
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff input#diana-crm-relation,
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff input#diana-crm-contact-city,
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff input#diana-crm-contact-department {
  background-color:#ffffff!important;
  color:#17364c!important;
  -webkit-text-fill-color:#17364c;
  border:1.5px solid #7999ad!important;
  box-shadow:0 0 0 1px rgba(23,69,93,.07)!important;
  border-radius:8px!important;
  padding:11px 12px!important;
  width:100%;max-width:100%;box-sizing:border-box;
  min-height:44px;
}
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff input::placeholder{color:#637987!important;opacity:1;}
#diana-crm-shell[data-diana-preview="1"] #diana-crm-handoff input:focus-visible{outline:2px solid #1677a0!important;outline-offset:1px;box-shadow:0 0 0 3px rgba(22,119,160,.14)!important;}
#diana-crm-shell[data-diana-preview="1"] #diana-v14-prefill-note{color:#3d6375;font-size:11px;line-height:1.45;margin:1px 0 9px;}
