.v25-original-hidden {
  display: none !important;
}

.v25-prospect-module,
.v25-branch-admin {
  margin-top: 18px;
}

.v25-security-card {
  background: linear-gradient(135deg, rgba(11, 31, 51, .98), rgba(19, 57, 88, .96));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 18px 46px rgba(11,31,51,.18);
}

.v25-security-head,
.v25-admin-head,
.v25-call-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.v25-security-head h3,
.v25-admin-head h2,
.v25-admin-panel h3 {
  margin: 4px 0 6px;
}

.v25-security-head p,
.v25-admin-head p,
.v25-call-widget p {
  margin: 0;
  opacity: .86;
}

.v25-selection-count {
  white-space: nowrap;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.12);
  font-weight: 700;
}

.v25-selection-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(220px, .8fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.v25-security-card .field span,
.v25-security-card .field small {
  color: rgba(255,255,255,.88);
}

.v25-multiselect {
  position: relative;
  min-width: 0;
}

.v25-multiselect summary {
  cursor: pointer;
  list-style: none;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  color: #102a43;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
}

.v25-multiselect summary::-webkit-details-marker {
  display: none;
}

.v25-multiselect summary::after {
  content: '▾';
}

.v25-multiselect[open] summary::after {
  transform: rotate(180deg);
}

.v25-base-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  color: #102a43;
  border: 1px solid #d8e2eb;
  box-shadow: 0 20px 45px rgba(11,31,51,.24);
}

.v25-base-group {
  border: 1px solid #e0e8ef;
  border-radius: 12px;
  padding: 10px;
  margin: 0 0 10px;
}

.v25-base-group:last-child {
  margin-bottom: 0;
}

.v25-base-group legend {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 5px;
}

.v25-base-group legend span {
  font-size: .72rem;
  font-weight: 800;
  color: #4b6478;
  background: #eef4f8;
  border-radius: 999px;
  padding: 3px 7px;
}

.v25-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 7px;
  border-radius: 8px;
  cursor: pointer;
}

.v25-check-row:hover {
  background: #f3f7fa;
}

.v25-check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #1769aa;
  flex: 0 0 auto;
}

.v25-check-row span {
  display: grid;
  gap: 3px;
}

.v25-check-row b {
  font-size: .9rem;
}

.v25-check-row small {
  color: #61798d !important;
  font-size: .76rem;
}

.v25-check-row.disabled,
.v25-base-group:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.v25-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.v25-selected-chips span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: .78rem;
}

.v25-access-ok {
  margin-top: 12px;
  font-weight: 700;
  color: #b8f5d4;
}

.v25-filters {
  margin-top: 16px;
  display: grid !important;
  grid-template-columns: minmax(260px, 1.2fr) minmax(190px, .65fr) minmax(170px, .55fr) auto;
  align-items: end;
}

.v25-cards-grid {
  margin-top: 16px;
}

.v25-loading,
.v25-empty {
  padding: 38px 20px;
  text-align: center;
  border: 1px dashed #cbd8e2;
  border-radius: 16px;
  background: #f8fbfd;
  color: #445e72;
}

.v25-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.v25-empty h3 {
  margin: 8px 0 5px;
  color: #17344d;
}

.v25-empty p {
  margin: 0;
}

.v25-lock-icon {
  font-size: 2rem;
}

.v25-branch-admin {
  padding: 20px;
  border: 1px solid #dbe5ed;
  box-shadow: 0 14px 35px rgba(11,31,51,.08);
}

.v25-admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
  gap: 18px;
  margin-top: 18px;
}

.v25-admin-panel {
  border: 1px solid #dce6ed;
  border-radius: 14px;
  padding: 16px;
  background: #fbfdfe;
}

.v25-admin-base-list {
  max-height: 370px;
  overflow: auto;
  border: 1px solid #dce6ed;
  border-radius: 11px;
  padding: 8px;
  margin: 12px 0;
  background: #fff;
}

.v25-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.v25-switch input {
  width: 18px;
  height: 18px;
}

.v25-import-branch-field {
  padding: 12px;
  border-radius: 12px;
  background: #edf6fd;
  border: 1px solid #bddbf0;
}

.v25-import-branch-field small {
  color: #45677f;
}

.v25-call-widget {
  position: fixed;
  z-index: 10000;
  right: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 28px));
  padding: 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #0b1f33, #123e63);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(4,18,31,.35);
}

.v25-call-widget.status-requires_explanation {
  background: linear-gradient(145deg, #6d2f0b, #a34c16);
}

.v25-call-widget.status-ready {
  background: linear-gradient(145deg, #0d5136, #16734e);
}

.v25-call-widget.status-error {
  background: linear-gradient(145deg, #6f1720, #9e2632);
}

.v25-call-head {
  align-items: center;
}

.v25-call-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v25-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f64;
  box-shadow: 0 0 0 6px rgba(255,95,100,.16);
  animation: v25-pulse 1.3s infinite;
}

.v25-call-widget.status-ready .v25-live-dot {
  background: #65e8aa;
  box-shadow: none;
  animation: none;
}

.v25-call-time {
  font-size: 1.6rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.v25-call-client {
  margin: 10px 0 6px;
  font-weight: 800;
  font-size: 1.05rem;
}

.v25-call-widget textarea {
  width: 100%;
  margin: 12px 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22);
  padding: 10px;
  resize: vertical;
}

.v25-call-widget .button {
  margin-top: 12px;
}

.v25-call-management-summary {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: 12px;
  background: #eaf8f1;
  border: 1px solid #b9e5cf;
  color: #15573d;
}

.v25-call-management-summary span,
.v25-call-management-summary small {
  color: #356a55;
}

#finverz-v25-toast {
  position: fixed;
  z-index: 11000;
  top: 18px;
  right: 18px;
  display: grid;
  gap: 9px;
  width: min(390px, calc(100vw - 32px));
}

.v25-toast {
  padding: 12px 14px;
  border-radius: 11px;
  background: #16344e;
  color: #fff;
  box-shadow: 0 14px 35px rgba(4,18,31,.22);
  font-weight: 700;
}

.v25-toast-success { background: #176b49; }
.v25-toast-error { background: #9b2832; }
.v25-toast-info { background: #225a82; }

@keyframes v25-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.75); opacity: .65; }
}

@media (max-width: 920px) {
  .v25-selection-layout,
  .v25-filters,
  .v25-admin-grid {
    grid-template-columns: 1fr;
  }

  .v25-base-list {
    position: static;
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .v25-security-card,
  .v25-branch-admin {
    padding: 15px;
    border-radius: 14px;
  }

  .v25-security-head,
  .v25-admin-head {
    display: grid;
  }

  .v25-selection-count {
    justify-self: start;
  }

  .v25-call-widget {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}


/* FINVERZ V2.6 — Cronómetro compacto y encabezado limpio */
.welcome-row h1,
.welcome-row p {
  display: none !important;
}

.welcome-row {
  min-height: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
}

.welcome-row > div {
  display: flex;
  align-items: center;
  min-width: 0;
}

.welcome-row .eyebrow {
  margin: 0;
}

.v25-call-widget {
  max-height: min(72vh, 620px);
  overflow: auto;
  scrollbar-width: thin;
}

.v25-call-title,
.v25-call-head-actions,
.v25-call-compact,
.v25-call-compact-status,
.v25-call-compact-actions {
  display: flex;
  align-items: center;
}

.v25-call-title,
.v25-call-compact-status {
  gap: 8px;
  min-width: 0;
}

.v25-call-head-actions,
.v25-call-compact-actions {
  gap: 7px;
  flex: 0 0 auto;
}

.v25-call-icon-button,
.v25-call-action {
  appearance: none;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  background: rgba(255,255,255,.12);
  font: inherit;
  cursor: pointer;
}

.v25-call-icon-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 9px;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
}

.v25-call-action {
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.v25-call-action-danger {
  background: #a92530;
  border-color: rgba(255,255,255,.32);
}

.v25-call-icon-button:hover,
.v25-call-action:hover {
  background: rgba(255,255,255,.22);
}

.v25-call-widget.is-collapsed {
  width: auto;
  max-width: calc(100vw - 28px);
  padding: 8px 10px;
  border-radius: 14px;
  overflow: visible;
}

.v25-call-compact {
  justify-content: space-between;
  gap: 14px;
}

.v25-call-compact-status > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.v25-call-compact-status strong {
  font-size: .78rem;
  white-space: nowrap;
}

.v25-call-compact .v25-call-time {
  font-size: 1rem;
  line-height: 1.05;
}

.v25-live-dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(255,95,100,.14);
  flex: 0 0 7px;
}

@media (max-width: 620px) {
  .welcome-row {
    margin-bottom: 10px;
    padding-bottom: 7px;
  }

  .v25-call-widget {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 16px);
    max-height: min(58dvh, 460px);
    padding: 12px;
    border-radius: 13px;
  }

  .v25-call-widget.is-collapsed {
    right: 8px;
    width: calc(100vw - 16px);
    max-width: none;
    padding: 7px 8px;
    border-radius: 12px;
  }

  .v25-call-compact {
    gap: 7px;
  }

  .v25-call-compact-status {
    gap: 6px;
  }

  .v25-call-compact-status strong {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .7rem;
  }

  .v25-call-compact .v25-call-time {
    font-size: .9rem;
  }

  .v25-call-action {
    min-height: 28px;
    padding: 4px 8px;
    font-size: .7rem;
  }

  .v25-call-icon-button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 15px;
  }

  .v25-call-head {
    gap: 8px;
  }

  .v25-call-head-actions {
    gap: 5px;
  }

  .v25-call-head .v25-call-time {
    font-size: 1.12rem;
  }

  .v25-call-client {
    margin-top: 7px;
    font-size: .92rem;
  }

  .v25-call-widget p {
    font-size: .78rem;
    line-height: 1.35;
  }

  .v25-call-widget .button {
    min-height: 38px;
    margin-top: 8px;
    padding: 8px 10px;
    font-size: .8rem;
  }

  .v25-call-widget textarea {
    max-height: 110px;
    margin: 8px 0;
  }
}
