:root {
  --ww-calendar-blue: #0b2a6b;
  --ww-calendar-green: #8cc63f;
  --ww-calendar-cream: #fffae8;
  --ww-calendar-border: #dbe3ef;
  --ww-calendar-text: #17233b;
  --ww-calendar-secondary: #334155;
  --ww-calendar-muted: #64748b;
}

.agenda-view-switcher,
.appointments-view-switcher {
  display: inline-flex;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 0.3rem;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 42, 107, 0.08);
}

.agenda-view-button,
.appointments-view-button {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: 999px;
  color: var(--ww-calendar-blue);
  font-weight: 800;
  background: transparent;
}

.agenda-view-button.is-active,
.appointments-view-button.is-active {
  color: #fff;
  background: var(--ww-calendar-blue);
}

.agenda-view-button:focus-visible,
.appointments-view-button:focus-visible,
.appointments-calendar-retry:focus-visible,
.appointments-calendar-close:focus-visible,
.appointments-calendar-host .fc-button:focus-visible {
  outline: 3px solid rgba(140, 198, 63, 0.55);
  outline-offset: 2px;
}

.agenda-calendar-view { margin-bottom: 1.25rem; }
.agenda-calendar-card { overflow: hidden; }
.agenda-calendar-heading { margin-bottom: 1rem; }
.agenda-calendar-heading p:last-child { margin-top: 0.25rem; color: #62708a; }

.appointments-calendar-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 360px;
  color: var(--ww-calendar-text);
}

.appointments-calendar-host {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ww-calendar-blue);
}

.appointments-calendar-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ww-calendar-border);
  border-radius: 14px;
  text-align: center;
  background: #f7f9fc;
}

.appointments-calendar-state p { color: inherit; }

.appointments-calendar-state.hidden { display: none; }
.appointments-calendar-state.is-loading { color: var(--ww-calendar-blue); background: #eef4ff; }
.appointments-calendar-state.is-empty { color: #536178; background: var(--ww-calendar-cream); }
.appointments-calendar-state.is-error { color: #8b1e2d; border-color: #f0b7bf; background: #fff1f3; }

.appointments-calendar-state.is-loading::before {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(11, 42, 107, 0.2);
  border-top-color: var(--ww-calendar-blue);
  border-radius: 50%;
  content: "";
  animation: ww-calendar-spin 0.8s linear infinite;
}

@keyframes ww-calendar-spin { to { transform: rotate(360deg); } }

.appointments-calendar-retry {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  background: var(--ww-calendar-blue);
}

.appointments-calendar-retry.hidden { display: none; }

.appointments-calendar-host .fc {
  --fc-border-color: #dbe3ef;
  --fc-button-bg-color: #0b2a6b;
  --fc-button-border-color: #0b2a6b;
  --fc-button-hover-bg-color: #123f89;
  --fc-button-hover-border-color: #123f89;
  --fc-button-active-bg-color: #8cc63f;
  --fc-button-active-border-color: #78ad31;
  --fc-today-bg-color: rgba(140, 198, 63, 0.11);
  --fc-neutral-bg-color: #f8fafc;
  --fc-page-bg-color: #ffffff;
  --fc-list-event-hover-bg-color: #f1f5f9;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--ww-calendar-blue);
  font-family: Inter, Poppins, system-ui, sans-serif;
}

.appointments-calendar-host .fc .fc-toolbar { gap: 0.75rem; }
.appointments-calendar-host .fc .fc-toolbar-title { color: var(--ww-calendar-blue); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 900; }
.appointments-calendar-host .fc .fc-button {
  min-height: 40px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 750;
  background: var(--ww-calendar-blue);
  border-color: var(--ww-calendar-blue);
  box-shadow: none;
}
.appointments-calendar-host .fc .fc-button:hover,
.appointments-calendar-host .fc .fc-button:focus { color: #ffffff; background: #123f89; border-color: #123f89; }
.appointments-calendar-host .fc .fc-button.fc-button-active,
.appointments-calendar-host .fc .fc-button:active { color: var(--ww-calendar-blue); background: var(--ww-calendar-green); border-color: #78ad31; }
.appointments-calendar-host .fc .fc-button:disabled { color: var(--ww-calendar-blue); background: #e8eef7; border-color: #cad5e5; opacity: 1; }
.appointments-calendar-host .fc .fc-scrollgrid { overflow: hidden; border-radius: 14px; }
.appointments-calendar-host .fc .fc-col-header-cell { padding: 0.45rem 0; background: #f3f7fc; }
.appointments-calendar-host .fc .fc-col-header-cell-cushion { color: var(--ww-calendar-blue); font-weight: 850; }
.appointments-calendar-host .fc .fc-daygrid-day-number { color: #35435d; font-weight: 750; }
.appointments-calendar-host .fc .fc-day-today .fc-daygrid-day-number { color: var(--ww-calendar-blue); }
.appointments-calendar-host .fc .fc-day-other .fc-daygrid-day-number { color: var(--ww-calendar-muted, #64748b); opacity: 1; }
.appointments-calendar-host .fc .fc-more-link,
.appointments-calendar-host .fc .fc-daygrid-more-link { color: var(--ww-calendar-blue); font-weight: 800; }
.appointments-calendar-host .fc .fc-timegrid-slot-label,
.appointments-calendar-host .fc .fc-timegrid-slot-label-cushion,
.appointments-calendar-host .fc .fc-timegrid-axis-cushion { color: #334155; font-weight: 700; }
.appointments-calendar-host .fc .fc-timegrid-col-frame,
.appointments-calendar-host .fc .fc-daygrid-day-frame { color: #334155; background-color: transparent; }
.appointments-calendar-host .fc .fc-list,
.appointments-calendar-host .fc .fc-list-table,
.appointments-calendar-host .fc .fc-list-table td { color: #334155; background-color: #ffffff; }
.appointments-calendar-host .fc .fc-list-day-cushion { background-color: #edf3fa; }
.appointments-calendar-host .fc .fc-list-day-text,
.appointments-calendar-host .fc .fc-list-day-side-text { color: var(--ww-calendar-blue); font-weight: 850; }
.appointments-calendar-host .fc .fc-list-event-time,
.appointments-calendar-host .fc .fc-list-event-title,
.appointments-calendar-host .fc .fc-list-event-title a { color: #334155; }
.appointments-calendar-host .fc .fc-popover { color: #334155; background: #ffffff; }
.appointments-calendar-host .fc .fc-popover-header { color: var(--ww-calendar-blue); background: #edf3fa; }
.appointments-calendar-host .fc .fc-popover-title { color: var(--ww-calendar-blue); font-weight: 850; }

.appointments-calendar-host .fc-event.ww-calendar-event {
  overflow: hidden;
  min-height: 25px;
  border-width: 0 0 0 4px;
  border-radius: 7px;
  color: #17233b;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(23, 35, 59, 0.12);
}

/* FullCalendar define blanco en .fc-event-main por defecto. Los eventos de
   Woof & Wash usan fondos claros, por eso el contenido debe heredar tinta. */
.appointments-calendar-host .fc .ww-calendar-event .fc-event-main,
.appointments-calendar-host .fc .ww-calendar-event .fc-event-main-frame,
.appointments-calendar-host .fc .ww-calendar-event .ww-calendar-event-content,
.appointments-calendar-host .fc .ww-calendar-event .ww-calendar-event-content * {
  color: #17233b;
}

.ww-calendar-event-content { min-width: 0; padding: 0.2rem 0.35rem; line-height: 1.25; }
.ww-calendar-event-primary { display: flex; gap: 0.3rem; min-width: 0; }
.ww-calendar-event-primary strong,
.ww-calendar-event-secondary {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ww-calendar-event-time { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-weight: 850; }
.ww-calendar-event-secondary { display: block; opacity: 0.82; font-size: 0.76rem; }
.ww-calendar-event-status { display: inline-block; margin-top: 0.15rem; font-size: 0.68rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.03em; }

.appointments-calendar-host .ww-calendar-status-pendiente { border-left-color: #d99b12; background: #fff4cd; }
.appointments-calendar-host .ww-calendar-status-confirmada { border-left-color: #2e72c4; background: #eaf3ff; }
.appointments-calendar-host .ww-calendar-status-en-camino { border-left-color: #7257c5; background: #f0edff; }
.appointments-calendar-host .ww-calendar-status-en-proceso { border-left-color: #138d90; background: #e4f8f5; }
.appointments-calendar-host .ww-calendar-status-completada,
.appointments-calendar-host .ww-calendar-status-finalizada { border-left-color: #5c9424; background: #edf8df; }
.appointments-calendar-host .ww-calendar-status-cancelada { border-left-color: #b43c4d; color: #692531; background: #fdecef; text-decoration-color: #8b1e2d; }
.appointments-calendar-host .ww-calendar-status-no-asistio { border-left-color: #6b7280; color: #3f4652; background: #edf0f4; }

/* Acento completo por estado sin cambiar eventos ni navegación. */
.appointments-calendar-host .fc-event.ww-calendar-event { transition: box-shadow .16s ease, filter .16s ease, transform .16s ease; }
.appointments-calendar-host .ww-calendar-status-pendiente { border-left-color: #d97706; background: #fff7ed; box-shadow: 0 2px 8px rgba(217, 119, 6, .13); }
.appointments-calendar-host .ww-calendar-status-confirmada,
.appointments-calendar-host .ww-calendar-status-confirmado { border-left-color: #2563eb; background: #eff6ff; box-shadow: 0 2px 8px rgba(37, 99, 235, .13); }
.appointments-calendar-host .ww-calendar-status-completada,
.appointments-calendar-host .ww-calendar-status-completado,
.appointments-calendar-host .ww-calendar-status-finalizada { border-left-color: #5c9424; background: #f7fee7; box-shadow: 0 2px 8px rgba(92, 148, 36, .13); }
.appointments-calendar-host .ww-calendar-status-cancelada,
.appointments-calendar-host .ww-calendar-status-cancelado { border-left-color: #dc2626; color: #7f1d1d; background: #fef2f2; box-shadow: 0 2px 8px rgba(220, 38, 38, .12); }
.appointments-calendar-host .ww-calendar-status-pendiente:hover { box-shadow: 0 4px 12px rgba(217, 119, 6, .2); }
.appointments-calendar-host .ww-calendar-status-confirmada:hover { box-shadow: 0 4px 12px rgba(37, 99, 235, .2); }
.appointments-calendar-host :is(.ww-calendar-status-completada, .ww-calendar-status-finalizada):hover { box-shadow: 0 4px 12px rgba(92, 148, 36, .2); }
.appointments-calendar-host .ww-calendar-status-cancelada:hover { box-shadow: 0 4px 12px rgba(220, 38, 38, .19); }
.appointments-calendar-host .fc-event.ww-calendar-event:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .appointments-calendar-host .fc-event.ww-calendar-event { transition: none; }
  .appointments-calendar-host .fc-event.ww-calendar-event:hover { transform: none; }
}

.appointments-calendar-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 20, 47, 0.66);
}
.appointments-calendar-modal.hidden { display: none; }
.appointments-calendar-dialog {
  width: min(620px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  border-radius: 22px;
  background: #fffef9;
  color: var(--ww-calendar-blue);
  box-shadow: 0 28px 80px rgba(5, 20, 50, 0.35);
}
.appointments-calendar-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--ww-calendar-border);
  background: linear-gradient(135deg, #fef9e7, #f3f8ea);
}
.appointments-calendar-dialog-head h2 { margin-top: 0.15rem; color: var(--ww-calendar-blue); font-size: 1.25rem; font-weight: 900; }
.appointments-calendar-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: var(--ww-calendar-blue);
  font-size: 1.8rem;
  line-height: 1;
  background: #fff;
}
.appointments-calendar-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; padding: 1.25rem 1.35rem; }
.appointments-calendar-detail-item { min-width: 0; padding: 0.75rem; border: 1px solid #e1e7f0; border-radius: 13px; color: #334155; background: #fff; }
.appointments-calendar-detail-item.is-wide { grid-column: 1 / -1; }
.appointments-calendar-behavior { display: inline-flex; margin-top: .45rem; padding: .35rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 850; line-height: 1.35; white-space: normal; }
.appointments-calendar-behavior.is-green { color: #166534; background: #dcfce7; }
.appointments-calendar-behavior.is-orange { color: #9a3412; background: #ffedd5; }
.appointments-calendar-behavior.is-red { color: #991b1b; background: #fee2e2; }
.appointments-calendar-behavior.is-unclassified { color: #475569; background: #f1f5f9; }
.appointments-calendar-detail-item dt { margin-bottom: 0.2rem; color: #66738a; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.appointments-calendar-detail-item dd { overflow-wrap: anywhere; color: #18243b; font-weight: 700; }
.appointments-calendar-phone-link {
  color: var(--ww-calendar-blue);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(11, 42, 107, 0.3);
  text-underline-offset: 3px;
}
.appointments-calendar-phone-link:hover { color: #123f89; text-decoration-color: currentColor; }
.appointments-calendar-dialog-actions { display: flex; justify-content: flex-end; padding: 0 1.35rem 1.25rem; }
.appointments-calendar-detail-close-button {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border: 1px solid #cad4e2;
  border-radius: 11px;
  color: var(--ww-calendar-blue);
  font-weight: 850;
  background: #fff;
}
.appointments-calendar-detail-kicker { color: #62708a; font-size: 0.76rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
body.appointments-calendar-modal-open { overflow: hidden; }

@media (max-width: 700px) {
  .agenda-view-switcher,
  .appointments-view-switcher { display: flex; width: 100%; }
  .agenda-view-button,
  .appointments-view-button { flex: 1; }
  .agenda-calendar-card { padding: 0.85rem; }
  .appointments-calendar-shell { min-height: 310px; }
  .appointments-calendar-host { overflow: hidden; }
  .appointments-calendar-host .fc .fc-toolbar { align-items: stretch; flex-direction: column; margin-bottom: 0.8rem; }
  .appointments-calendar-host .fc .fc-toolbar-chunk { display: flex; width: 100%; min-width: 0; justify-content: center; flex-wrap: wrap; }
  .appointments-calendar-host .fc .fc-toolbar-title { width: 100%; text-align: center; line-height: 1.25; }
  .appointments-calendar-host .fc .fc-toolbar-chunk:first-child .fc-button-group { display: grid; width: 100%; grid-template-columns: 44px minmax(74px, 1fr) 44px; gap: 0.35rem; }
  .appointments-calendar-host .fc .fc-toolbar-chunk:last-child .fc-button-group { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.3rem; }
  .appointments-calendar-host .fc .fc-button-group > .fc-button { margin: 0; border-radius: 9px; }
  .appointments-calendar-host .fc .fc-button { min-width: 0; min-height: 44px; padding: 0.48rem 0.4rem; overflow: hidden; font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
  .appointments-calendar-host .fc .fc-view-harness,
  .appointments-calendar-host .fc .fc-view,
  .appointments-calendar-host .fc .fc-scrollgrid { width: 100%; max-width: 100%; min-width: 0; }
  .appointments-calendar-host .fc .fc-list-event-time { width: 1%; padding-left: 0.55rem; padding-right: 0.45rem; color: #334155; white-space: nowrap; }
  .appointments-calendar-host .fc .fc-list-event-title { padding-left: 0.45rem; padding-right: 0.55rem; }
  .appointments-calendar-host .fc .fc-list-event-title a,
  .appointments-calendar-host .fc .fc-list-event-title { overflow-wrap: anywhere; white-space: normal; }
  .appointments-calendar-host .fc .fc-col-header-cell-cushion,
  .appointments-calendar-host .fc .fc-daygrid-day-number { font-size: 0.78rem; }
  .appointments-calendar-modal { padding: 0.65rem; }
  .appointments-calendar-dialog { width: 100%; max-height: calc(100dvh - 1.3rem); border-radius: 17px; }
  .appointments-calendar-dialog-head { padding: 1rem; }
  .appointments-calendar-detail { gap: 0.65rem; padding: 1rem; }
  .appointments-calendar-dialog-actions { padding: 0 1rem 1rem; }
  .appointments-calendar-detail { grid-template-columns: 1fr; }
  .appointments-calendar-detail-item.is-wide { grid-column: auto; }
}

@media (max-width: 390px) {
  .appointments-calendar-host .fc .fc-toolbar-chunk:last-child .fc-button-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appointments-calendar-host .fc .fc-button { font-size: 0.76rem; }
}

@media (prefers-reduced-motion: reduce) {
  .appointments-calendar-state.is-loading::before { animation-duration: 1.8s; }
}
.appointments-calendar-pets{grid-column:1/-1}.appointments-calendar-pets-toggle{border:1px solid #d6deee;border-radius:999px;background:#fff;color:#0b2a6b;font-weight:700;padding:.55rem 1rem;cursor:pointer}.appointments-calendar-pets-list{display:grid;gap:.75rem;margin-top:.75rem}.appointments-calendar-pets-list.hidden{display:none}.appointments-calendar-pets-list article{display:flex;gap:.75rem;align-items:center;border:1px solid #e4e9f2;border-radius:14px;padding:.75rem}.appointments-calendar-pet-photo{width:64px;height:64px;flex:0 0 64px;border-radius:14px;overflow:hidden;background:#edf2fa;color:#0b2a6b;display:grid;place-items:center;font-weight:800}.appointments-calendar-pet-photo img{width:100%;height:100%;object-fit:cover}.appointments-calendar-pets-list p{margin:.2rem 0 0;color:#5a6475}
.ww-no-photo{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#eef1f5;color:#667085;text-align:center}.ww-no-photo svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.ww-no-photo small{font-size:10px;line-height:1}.appointments-calendar-dialog,.appointments-calendar-detail-item,.appointments-calendar-pets-list article{min-width:0}.appointments-calendar-detail-item dd,.appointments-calendar-pets-list p,.appointments-calendar-pets-list strong{overflow-wrap:anywhere}.appointments-calendar-pets-toggle{min-height:44px}@media(max-width:430px){.appointments-calendar-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:10px;overflow:auto}.appointments-calendar-detail{grid-template-columns:minmax(0,1fr)}.appointments-calendar-pets-list article{align-items:flex-start}.appointments-calendar-pet-photo{width:56px;height:56px;flex-basis:56px}}

.agenda-pet-photo-preview img,.agenda-pet-thumb img,.appointments-calendar-pet-photo img,.employee-pet-photo img{cursor:zoom-in}.agenda-pet-photo-preview img:focus-visible,.agenda-pet-thumb img:focus-visible,.appointments-calendar-pet-photo img:focus-visible,.employee-pet-photo img:focus-visible{outline:3px solid #83b7ff;outline-offset:2px}.ww-image-lightbox-open{overflow:hidden}.ww-image-lightbox{position:fixed;z-index:11000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(2,8,23,.9)}.ww-image-lightbox.hidden{display:none}.ww-image-lightbox-dialog{position:relative;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0}.ww-image-lightbox-image{display:block;max-width:100%;max-height:calc(100dvh - 40px);width:auto;height:auto;object-fit:contain;touch-action:pinch-zoom}.ww-image-lightbox-close{position:absolute;z-index:1;top:0;right:0;width:44px;height:44px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(2,8,23,.78);color:#fff;font-size:30px;line-height:1;cursor:pointer}.ww-image-lightbox-close:focus-visible{outline:3px solid #83b7ff;outline-offset:2px}@media(max-width:430px){.ww-image-lightbox{padding:10px}.ww-image-lightbox-image{max-height:calc(100dvh - 20px)}}

/* Detalle del calendario alineado con las tarjetas de cita. */
.appointments-calendar-dialog{border:1px solid rgba(11,42,107,.1);border-radius:19px;box-shadow:0 24px 64px rgba(5,20,50,.28)}.appointments-calendar-dialog-head{padding:1.1rem 1.2rem;background:#fef9e7}.appointments-calendar-detail{gap:.7rem;padding:1rem 1.2rem}.appointments-calendar-detail-item{padding:.7rem .8rem;border-color:rgba(11,42,107,.1);border-radius:12px;background:rgba(255,250,232,.45);box-shadow:0 4px 12px rgba(11,42,107,.035)}.appointments-calendar-detail-close-button,.appointments-calendar-pets-toggle{transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.appointments-calendar-detail-close-button:hover,.appointments-calendar-pets-toggle:hover{border-color:rgba(11,42,107,.3);background:#fffae8}.appointments-calendar-detail-close-button:focus-visible,.appointments-calendar-pets-toggle:focus-visible{outline:3px solid rgba(37,99,235,.3);outline-offset:2px}.appointments-calendar-pets-list article{border-color:rgba(11,42,107,.1);background:rgba(255,250,232,.45);box-shadow:0 4px 12px rgba(11,42,107,.035)}.appointments-calendar-pet-photo{border:1px solid rgba(11,42,107,.12);box-shadow:0 4px 10px rgba(11,42,107,.08)}.appointments-calendar-pet-photo img{transition:transform .16s ease,filter .16s ease}.appointments-calendar-pet-photo img:hover{filter:brightness(.96);transform:scale(1.025)}
@media(max-width:430px){.appointments-calendar-dialog-head,.appointments-calendar-detail{padding-left:.85rem;padding-right:.85rem}.appointments-calendar-dialog-actions{padding-right:.85rem;padding-left:.85rem}.appointments-calendar-detail-close-button,.appointments-calendar-pets-toggle{width:100%;min-height:44px}}
@media(prefers-reduced-motion:reduce){.appointments-calendar-detail-close-button,.appointments-calendar-pets-toggle,.appointments-calendar-pet-photo img{transition:none}.appointments-calendar-pet-photo img:hover{transform:none}}

/* El visor amplía la imagen ya cargada; las miniaturas permanecen intactas. */
.ww-image-lightbox {
  padding: 3vh 2vw;
}

.ww-image-lightbox-dialog {
  width: 96vw;
  height: 94vh;
}

.ww-image-lightbox-image {
  width: 96vw;
  height: 92vh;
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
}

@media (max-width: 430px) {
  .ww-image-lightbox {
    padding: 4vh 2vw;
  }

  .ww-image-lightbox-dialog {
    width: 96vw;
    height: 92dvh;
  }

  .ww-image-lightbox-image {
    width: 96vw;
    height: 88dvh;
    max-width: 96vw;
    max-height: 88dvh;
  }
}

/* Subtarjetas del calendario con jerarquía más visible. */
.appointments-calendar-dialog-head {
  border-bottom: 3px solid rgba(11, 42, 107, 0.12);
  background: #edf4ff;
}

.appointments-calendar-dialog-head h2 {
  font-size: 1.4rem;
}

.appointments-calendar-detail-item {
  border-left: 3px solid rgba(140, 198, 63, 0.48);
}

.appointments-calendar-pets-list article {
  padding: 0.9rem;
  border-left: 4px solid #8cc63f;
  background: #fffdf4;
}

/* Mantiene completa la foto de la cita sin alterar el tamano de la miniatura. */
.appointments-calendar-pet-photo img {
  box-sizing: border-box;
  padding: 3px;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.appointments-calendar-pet-photo img:hover {
  transform: none;
}
