body {
  margin: 0;
  background: #fff;
}

/* Administracion de permisos documentales por perfil */
body.floorplan-santander-theme .floorplan-document-permissions-page {
  padding-block: 28px 44px;
}

body.floorplan-santander-theme .floorplan-document-permissions-card {
  margin-top: 20px;
}

body.floorplan-santander-theme .floorplan-document-profile-selector {
  display: block;
  margin: 0;
  padding: 22px 24px;
  border-top: 1px solid #e2dedb;
  border-bottom: 1px solid #e2dedb;
  background: #faf9f8;
}

body.floorplan-santander-theme .floorplan-document-profile-field {
  max-width: 620px;
}

body.floorplan-santander-theme .floorplan-document-profile-selector label,
body.floorplan-santander-theme .floorplan-document-add-controls label {
  color: #262220;
  font-size: 13px;
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-document-profile-selector select,
body.floorplan-santander-theme .floorplan-document-add-controls input {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  border: 1px solid #c9c2be;
  border-radius: 4px;
  background: #fff;
  color: #25211f;
  padding: 8px 11px;
}

body.floorplan-santander-theme .floorplan-document-profile-selector select:focus-visible,
body.floorplan-santander-theme .floorplan-document-add-controls input:focus-visible {
  border-color: #006d77;
  outline: 2px solid rgba(0, 109, 119, 0.2);
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-document-profile-field > p {
  margin: 8px 0 0;
  color: #67605c;
  font-size: 13px;
}

body.floorplan-santander-theme .floorplan-document-permission-editor {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1.1fr);
  gap: 0;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-document-permission-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2dedb;
  background: #fff;
}

body.floorplan-santander-theme .floorplan-document-permission-summary div {
  display: grid;
  gap: 3px;
}

body.floorplan-santander-theme .floorplan-document-permission-summary span {
  color: #6e6763;
  font-size: 11px;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-document-enabled-section,
body.floorplan-santander-theme .floorplan-document-add-section {
  min-width: 0;
  padding: 24px;
}

body.floorplan-santander-theme .floorplan-document-enabled-section {
  border-right: 1px solid #e2dedb;
  background: #fff;
}

body.floorplan-santander-theme .floorplan-document-add-section {
  background: #faf9f8;
}

body.floorplan-santander-theme .floorplan-document-section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

body.floorplan-santander-theme .floorplan-document-section-heading h3,
body.floorplan-santander-theme .floorplan-document-section-heading p {
  margin: 0;
}

body.floorplan-santander-theme .floorplan-document-section-heading h3 {
  color: #272321;
  font-size: 16px;
}

body.floorplan-santander-theme .floorplan-document-section-heading p,
body.floorplan-santander-theme .floorplan-document-section-heading > span {
  margin-top: 5px;
  color: #6e6763;
  font-size: 13px;
}

body.floorplan-santander-theme .floorplan-document-permission-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.floorplan-santander-theme .floorplan-document-permission-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 310px;
  min-height: 44px;
  border: 1px solid #b9d8dc;
  border-radius: 4px;
  background: #eef7f8;
  color: #173f45;
  padding: 6px 7px 6px 12px;
}

body.floorplan-santander-theme .floorplan-document-permission-chip > span,
body.floorplan-santander-theme .floorplan-document-permission-chip strong,
body.floorplan-santander-theme .floorplan-document-permission-chip small {
  display: block;
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-document-permission-chip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

body.floorplan-santander-theme .floorplan-document-permission-chip small {
  margin-top: 2px;
  color: #567075;
  font-size: 11px;
}

body.floorplan-santander-theme .floorplan-document-permission-chip button {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #006d77;
  cursor: pointer;
  font-size: 21px;
}

body.floorplan-santander-theme .floorplan-document-permission-chip button:hover,
body.floorplan-santander-theme .floorplan-document-permission-chip button:focus-visible {
  background: #d9edef;
  outline: 2px solid #006d77;
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-document-permission-empty-selection,
body.floorplan-santander-theme .floorplan-document-search-empty {
  margin: 0;
  color: #6e6763;
  font-size: 13px;
}

body.floorplan-santander-theme .floorplan-document-add-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 14px;
}

body.floorplan-santander-theme .floorplan-document-picker-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 22px;
  color: #5f5854;
  font-size: 13px;
}

body.floorplan-santander-theme .floorplan-document-picker-toolbar button {
  border: 0;
  background: transparent;
  color: #006d77;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.floorplan-santander-theme .floorplan-document-picker-toolbar button:disabled {
  color: #9d9793;
  cursor: default;
  text-decoration: none;
}

body.floorplan-santander-theme .floorplan-document-picker-toolbar button:focus-visible {
  border-radius: 2px;
  outline: 2px solid #006d77;
  outline-offset: 3px;
}

body.floorplan-santander-theme .floorplan-document-type-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  max-height: 264px;
  margin-top: 14px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #d7d1cd;
  border-radius: 4px;
  background: #fff;
}

body.floorplan-santander-theme .floorplan-document-type-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #e1ddda;
  border-radius: 4px;
  background: #fff;
  color: #2d2927;
  cursor: pointer;
}

body.floorplan-santander-theme .floorplan-document-type-option:hover {
  border-color: #9abfc4;
  background: #f5fafb;
}

body.floorplan-santander-theme .floorplan-document-type-option:has(input:checked) {
  border-color: #006d77;
  background: #eaf5f6;
}

body.floorplan-santander-theme .floorplan-document-type-option:focus-within {
  outline: 2px solid #006d77;
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-document-type-option input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ec0000;
}

body.floorplan-santander-theme .floorplan-document-type-option > span,
body.floorplan-santander-theme .floorplan-document-type-option strong,
body.floorplan-santander-theme .floorplan-document-type-option small {
  display: block;
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-document-type-option strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

body.floorplan-santander-theme .floorplan-document-type-option small {
  margin-top: 2px;
  color: #726b67;
  font-size: 11px;
}

body.floorplan-santander-theme .floorplan-document-picker-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

body.floorplan-santander-theme .floorplan-document-picker-actions button {
  min-width: 184px;
  min-height: 40px;
}

body.floorplan-santander-theme .floorplan-document-search-empty {
  margin-top: 10px;
}

body.floorplan-santander-theme .floorplan-document-permission-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-top: 1px solid #e2dedb;
  background: #fff;
}

body.floorplan-santander-theme .floorplan-document-permission-actions p {
  margin: 0;
  color: #67605c;
  font-size: 13px;
}

body.floorplan-santander-theme .floorplan-document-permission-actions button {
  min-width: 160px;
  min-height: 40px;
}

body.floorplan-santander-theme .floorplan-document-permission-actions > div {
  display: flex;
  gap: 10px;
}

@media (max-width: 760px) {
  body.floorplan-santander-theme .floorplan-document-add-controls {
    grid-template-columns: 1fr;
  }

  body.floorplan-santander-theme .floorplan-document-picker-toolbar {
    justify-content: space-between;
    padding-top: 0;
  }

  body.floorplan-santander-theme .floorplan-document-profile-field > p {
    margin-top: 8px;
  }
}

@media (max-width: 1040px) {
  body.floorplan-santander-theme .floorplan-document-permission-editor {
    grid-template-columns: 1fr;
  }

  body.floorplan-santander-theme .floorplan-document-enabled-section {
    border-right: 0;
    border-bottom: 1px solid #e2dedb;
  }
}

@media (max-width: 620px) {
  body.floorplan-santander-theme .floorplan-document-permissions-page {
    padding-block: 18px 30px;
  }

  body.floorplan-santander-theme .floorplan-document-permission-summary,
  body.floorplan-santander-theme .floorplan-document-section-heading,
  body.floorplan-santander-theme .floorplan-document-permission-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.floorplan-santander-theme .floorplan-document-permission-chip {
    width: 100%;
    max-width: none;
  }

  body.floorplan-santander-theme .floorplan-document-permission-actions button {
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-document-permission-actions > div,
  body.floorplan-santander-theme .floorplan-document-picker-actions {
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-document-permission-actions > div {
    flex-direction: column-reverse;
  }

  body.floorplan-santander-theme .floorplan-document-picker-actions button {
    width: 100%;
  }
}

.bs-header .logo img {
  height: 80px;
  margin-top: -26px;
  width: 130px;
  object-fit: contain;
}

header.bs-header.privado button.menu[data-menu-toggle] {
  appearance: none;
  background-color: transparent;
  background-image: url("../assets/img/svg/icon-ui-nav-menu.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px auto;
  border: 0;
  cursor: pointer;
  display: inline-block !important;
  flex: 0 0 40px;
  height: 40px;
  margin: 0 16px;
  padding: 0;
  width: 40px;
}

header.bs-header.privado button.menu[data-menu-toggle].active {
  background-image: url("../assets/img/svg/delete-button.svg");
  background-size: 22px auto;
}

header.bs-header.privado button.menu[data-menu-toggle]:focus-visible,
.bs-menu-module.lateral button.close[data-menu-close]:focus-visible {
  outline: 2px solid var(--bs--color-principal-azul);
  outline-offset: 2px;
}

.floorplan-user-menu {
  display: none;
}

.floorplan-user-menu.active {
  display: block;
}

.floorplan-user-menu form {
  display: block;
  margin: 0;
}

.floorplan-user-logout {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  width: 100%;
}

.bs-menu-module.lateral {
  background-color: var(--bs--color-grises-gris-10, #f5f6f6);
  border-radius: 0 0 4px 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  display: none;
  height: 100vh;
  left: 0;
  max-height: 100vh;
  max-width: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
}

.bs-menu-module.lateral.active {
  display: block;
}

.floorplan-page-content {
  display: block;
  min-height: 1px;
  position: relative;
}

.bs-menu-module.lateral button.close[data-menu-close] {
  appearance: none;
  background-color: transparent;
  background-image: url("../assets/img/svg/delete-button.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px auto;
  border: 0;
  cursor: pointer;
  display: block;
  height: 60px;
  margin: 0;
  padding: 0;
  width: 40px;
}

.bs-menu-module.lateral > .separador.h-10 {
  height: 10px;
}

.bs-menu-module.lateral ul.menu,
.bs-menu-module.lateral ul.child {
  list-style: none;
  margin: 0;
}

.bs-menu-module.lateral > ul.menu {
  padding: 0;
  width: 100%;
}

.bs-menu-module.lateral > ul.menu > li {
  border-top: 1px solid var(--bs--color-grises-gris-20, #e2e4e4);
  list-style: none;
  min-height: 24px;
}

.bs-menu-module.lateral > ul.menu > li:last-child {
  border-bottom: 1px solid var(--bs--color-grises-gris-20, #e2e4e4);
}

.bs-menu-module.lateral .floorplan-menu-group > input[type="checkbox"] {
  display: none !important;
}

.bs-menu-module.lateral .floorplan-menu-group > label.parent {
  align-items: center;
  box-sizing: border-box;
  color: var(--bs--color-principal-negro, #292b2b);
  cursor: pointer;
  display: flex;
  font-family: var(--bs--font-bold, overpassbold, sans-serif);
  font-size: 1.6rem;
  line-height: 1;
  min-height: 60px;
  padding-right: 18px;
  width: 100%;
}

.bs-menu-module.lateral .floorplan-menu-group > label.parent figure,
.bs-menu-module.lateral .floorplan-menu-button figure {
  display: grid;
  filter: grayscale(100%);
  flex: 0 0 20px;
  height: 20px;
  margin: 20px 10px;
  place-items: center;
  width: 20px;
}

.bs-menu-module.lateral .floorplan-menu-group > label.parent figure img,
.bs-menu-module.lateral .floorplan-menu-button figure img {
  display: block;
  height: 20px;
  max-width: 20px;
  object-fit: contain;
  width: 20px;
}

.bs-menu-module.lateral .floorplan-menu-group > label.parent > span {
  background: url("../assets/img/svg/arrow-button-down-green.svg") right center / 16px auto no-repeat;
  flex: 1;
  padding-right: 24px;
}

.bs-menu-module.lateral .floorplan-menu-group > input:checked + label.parent {
  color: var(--bs--color-principal-verde, #00953a);
}

.bs-menu-module.lateral .floorplan-menu-group > input:checked + label.parent figure,
.bs-menu-module.lateral .floorplan-menu-group > label.parent:hover figure,
.bs-menu-module.lateral .floorplan-menu-button:hover figure {
  filter: grayscale(0%);
}

.bs-menu-module.lateral .floorplan-menu-group > input:checked + label.parent > span {
  background-image: url("../assets/img/svg/arrow-button-up-green.svg");
}

.bs-menu-module.lateral .floorplan-menu-group > ul.child {
  box-sizing: border-box;
  display: none;
  margin: -6px 0 10px;
  padding: 0 20px 8px 40px;
  width: 100%;
}

.bs-menu-module.lateral .floorplan-menu-group > input:checked ~ ul.child {
  display: block;
}

.bs-menu-module.lateral .floorplan-menu-group > ul.child > li {
  line-height: 1;
  list-style: none;
}

.bs-menu-module.lateral .floorplan-menu-group > ul.child a.link {
  align-items: center;
  box-sizing: border-box;
  color: var(--bs--color-principal-negro, #292b2b);
  display: flex;
  font-family: var(--bs--font-regular, overpassregular, sans-serif);
  font-size: 1.5rem;
  line-height: 2.4rem;
  min-height: 38px;
  padding: 7px 24px 7px 0;
  text-decoration: none;
}

.bs-menu-module.lateral .floorplan-menu-group > ul.child a.link:hover,
.bs-menu-module.lateral .floorplan-menu-group > ul.child a.link.active {
  color: var(--bs--color-principal-verde, #00953a);
  font-family: var(--bs--font-bold, overpassbold, sans-serif);
}

.bs-menu-module.lateral .floorplan-menu-group > ul.child a.link.active::before {
  background: var(--bs--color-principal-verde, #00953a);
  border-radius: 50%;
  content: "";
  display: inline-block;
  flex: 0 0 7px;
  height: 7px;
  margin-right: 8px;
  width: 7px;
}

.bs-menu-module.lateral .menu form {
  display: block;
  margin: 0;
}

.bs-menu-module.lateral .floorplan-menu-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  box-sizing: border-box;
  color: var(--bs--color-principal-negro, #292b2b);
  cursor: pointer;
  display: flex;
  font-family: var(--bs--font-bold, overpassbold, sans-serif);
  font-size: 1.6rem;
  line-height: 1;
  min-height: 60px;
  padding: 0;
  text-align: left;
  width: 100%;
}

.bs-menu-module.lateral .floorplan-menu-button:hover {
  color: var(--bs--color-principal-verde, #00953a);
}

.floorplan-page {
  padding-bottom: 40px;
}

.floorplan-page .bs-contenedor {
  max-width: 1360px;
}

.floorplan-form-grid {
  display: grid;
  gap: 22px 24px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 36px;
}

.floorplan-filter-form {
  display: block;
  margin-top: 0;
}

.floorplan-bansa-form {
  display: block;
  margin-top: 0;
}

.floorplan-form-grid label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.floorplan-form-grid label > span {
  display: block;
  font-family: overpassregular, sans-serif;
  margin-bottom: 7px;
}

.floorplan-form-grid input,
.floorplan-form-grid select {
  background: #fff;
  border: 1px solid var(--bs--color-grises-gris-60);
  border-radius: 4px;
  box-sizing: border-box;
  color: var(--bs--color-principal-negro);
  font-family: overpassregular, sans-serif;
  font-size: 1.4rem;
  height: 40px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.floorplan-form-grid input:focus,
.floorplan-form-grid select:focus {
  border-color: var(--bs--color-principal-azul);
  box-shadow: 0 0 0 2px rgba(0, 91, 172, 0.12);
  outline: 0;
}

.floorplan-filter-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 28px;
}

.floorplan-filter-actions .bs-btn {
  min-height: 38px;
}

.floorplan-filter-actions .bs-btn img {
  height: 28px;
  object-fit: contain;
  width: 28px;
}

.floorplan-chip-button {
  border: 0;
  font-family: overpassregular, sans-serif;
}

.floorplan-bansa-actions {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.floorplan-bansa-actions label {
  display: flex;
  flex-direction: column;
  min-width: 280px;
}

.floorplan-bansa-actions label span {
  font-family: var(--bs--font-bold);
  font-size: 1.3rem;
  margin-bottom: 7px;
}

.floorplan-bansa-actions select {
  background: #fff;
  border: 1px solid var(--bs--color-grises-gris-40);
  border-radius: 4px;
  font-size: 1.4rem;
  min-height: 40px;
  padding: 7px 10px;
}

.floorplan-billing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #d8e0e2;
  margin: 0 0 24px;
}

.floorplan-billing-tabs a {
  color: #3c535b;
  padding: 12px 20px;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  font-weight: 600;
}

.floorplan-billing-tabs a[aria-current="page"] {
  color: #b4000a;
  border-bottom-color: #ec0000;
}

.floorplan-billing-tabs a:focus-visible,
.floorplan-billing-history-table:focus-visible {
  outline: 2px solid #005b62;
  outline-offset: 3px;
}

.floorplan-billing-history-table {
  max-width: 100%;
  overflow-x: auto;
}

.floorplan-billing-history-table .floorplan-table {
  min-width: 940px;
}

.floorplan-billing-history-table td:nth-child(3) {
  white-space: nowrap;
}

.floorplan-billing-pagination,
.floorplan-billing-pagination > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.floorplan-billing-pagination {
  justify-content: space-between;
  margin-top: 20px;
}

.floorplan-table-wrap {
  overflow-x: auto;
}

.floorplan-table {
  border-collapse: collapse;
  background: var(--bs--color-grises-gris-10);
  min-width: 1100px;
  width: 100%;
}

.floorplan-table th,
.floorplan-table td {
  border: 1px solid var(--bs--color-grises-gris-20);
  padding: 11px 12px;
  text-align: left;
  vertical-align: middle;
}

.floorplan-table th {
  background: var(--bs--color-grises-gris-10);
  color: var(--bs--color-principal-negro);
  font-family: overpassbold, sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.floorplan-table td {
  background: #fff;
  font-family: overpassregular, sans-serif;
  font-size: 1.4rem;
  min-height: 48px;
}

.floorplan-table tbody tr:hover td {
  background: var(--bs--color-grises-gris-5);
}

.floorplan-operation-table th:nth-child(1),
.floorplan-operation-table th:nth-child(2),
.floorplan-operation-table th:nth-child(3),
.floorplan-operation-table th:nth-child(4),
.floorplan-operation-table th:nth-child(5),
.floorplan-operation-table th:nth-child(6) {
  min-width: 150px;
}

.floorplan-operation-table th:nth-child(7) {
  min-width: 120px;
}

.floorplan-operation-table th:nth-child(8),
.floorplan-operation-table td:nth-child(8) {
  min-width: 48px;
  text-align: center;
  width: 48px;
}

.floorplan-alert {
  background: var(--bs--color-validacion-amarillo-10);
  border: 1px solid var(--bs--color-validacion-amarillo-50);
  border-radius: 4px;
  color: var(--bs--color-principal-negro);
  padding: 14px 18px;
}

.floorplan-alert.error {
  background: var(--bs--color-validacion-rojo-10);
  border-color: var(--bs--color-validacion-rojo-50);
}

.floorplan-alert.success {
  background: var(--bs--color-validacion-verde-10, #e7f6ec);
  border-color: var(--bs--color-principal-verde);
}

.floorplan-bansa-results {
  margin: 10px 0 0;
  max-height: 180px;
  overflow-y: auto;
  padding-left: 22px;
}

.floorplan-bansa-results li + li {
  margin-top: 4px;
}

.floorplan-representative-header {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  min-height: 108px;
}

.floorplan-page-heading h3 {
  margin: 0 0 8px;
}

.floorplan-page-heading p {
  margin: 0;
}

.floorplan-representative-selector {
  box-sizing: border-box;
  cursor: default;
  flex: 0 1 420px;
  max-width: 420px;
  min-height: 78px;
  width: 100%;
}

.floorplan-representative-selector figure img {
  height: 48px;
  object-fit: contain;
  width: 48px;
}

.floorplan-representative-selector .label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.floorplan-results-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.floorplan-representative-table {
  min-width: 1760px;
}

.floorplan-representative-table th {
  min-width: 140px;
}

.floorplan-representative-table .floorplan-check-column {
  min-width: 48px;
  text-align: center;
  width: 48px;
}

.floorplan-check-column input {
  height: 18px;
  margin: 0;
  width: 18px;
}

.floorplan-sign-state {
  text-align: center !important;
}

.floorplan-fingerprint-state {
  align-items: center;
  display: inline-block;
  height: 24px;
  width: 24px;
}

.floorplan-fingerprint-state svg {
  display: block;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.floorplan-sign-state .pending {
  color: var(--bs--color-secundario-rojo);
}

.floorplan-sign-state .partial {
  color: var(--bs--color-validacion-amarillo-50);
}

.floorplan-sign-state .signed {
  color: var(--bs--color-principal-verde);
}

.floorplan-empty-state {
  padding: 54px 20px 24px;
  text-align: center;
}

.floorplan-empty-state figure {
  margin-left: auto;
  margin-right: auto;
}

.floorplan-panel-search-empty {
  box-sizing: border-box;
  margin: 0;
  min-height: 230px;
  padding: 44px 24px;
}

.floorplan-panel-search-empty figure {
  height: 50px;
  margin-bottom: 16px;
  width: 50px;
}

.floorplan-panel-search-empty figure img {
  display: block;
  height: 100%;
  object-fit: contain;
  opacity: 0.72;
  width: 100%;
}

.floorplan-panel-search-empty h3 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.floorplan-panel-search-empty p {
  line-height: 1.5;
  margin: 0 auto;
  max-width: 560px;
}

.floorplan-filter-validation {
  background: #fff2f2;
  border-left: 3px solid var(--floorplan-santander-red, #ec0000);
  color: #8a0000;
  font-size: 1.3rem;
  line-height: 1.45;
  margin-top: 16px;
  padding: 10px 12px;
}

.floorplan-filter-validation[hidden] {
  display: none;
}

.floorplan-tabs {
  border-bottom: 1px solid var(--bs--color-grises-gris-20);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.floorplan-tabs a {
  border-bottom: 3px solid transparent;
  color: var(--bs--color-principal-negro);
  padding: 14px 18px;
  text-decoration: none;
}

.floorplan-tabs a.active {
  border-color: var(--bs--color-principal-azul);
  color: var(--bs--color-principal-azul);
  font-family: var(--bs--font-bold);
}

.floorplan-detail-title {
  min-height: 58px;
}

.floorplan-operation-header {
  background: var(--bs--color-grises-gris-10);
  padding: 0;
}

.floorplan-operation-header article {
  padding: 18px 20px 0;
}

.floorplan-operation-header h4 {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.floorplan-status-button {
  align-items: center;
  display: inline-flex;
  height: 28px;
  min-height: 28px;
  padding: 0 18px;
}

.floorplan-summary-grid,
.floorplan-credit-grid {
  background: #fff;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, minmax(135px, 1fr));
  margin: 18px -20px 0;
  padding: 18px 20px;
}

.floorplan-summary-grid .bs-simple-data,
.floorplan-credit-grid .bs-simple-data {
  border-right: 1px solid var(--bs--color-grises-gris-20);
  min-width: 0;
  padding: 0 18px;
}

.floorplan-summary-grid .bs-simple-data:first-child,
.floorplan-credit-grid .bs-simple-data:first-child {
  padding-left: 0;
}

.floorplan-summary-grid .bs-simple-data:last-child,
.floorplan-credit-grid .bs-simple-data:last-child {
  border-right: 0;
}

.floorplan-summary-grid h3,
.floorplan-summary-grid p,
.floorplan-credit-grid p {
  overflow-wrap: anywhere;
}

.floorplan-credit-strip {
  padding: 0 20px;
}

.floorplan-credit-grid {
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  margin-top: 0;
}

.floorplan-credit-grid .bs-chip {
  display: inline-block;
  margin-top: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.floorplan-document-state {
  display: inline-block;
  font-family: var(--bs--font-bold);
  margin-top: 8px;
}

.floorplan-document-state.ready {
  color: var(--bs--color-principal-verde);
}

.floorplan-document-state.pending {
  color: var(--bs--color-secundario-rojo);
}

.floorplan-detail-columns,
.floorplan-writing-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.floorplan-detail-section {
  border: 1px solid var(--bs--color-grises-gris-20);
  min-width: 0;
  padding: 0 20px 24px;
}

.floorplan-detail-section > h3,
.floorplan-section-heading h3 {
  background: #fff;
  color: var(--bs--color-principal-azul);
  display: inline-block;
  font-family: var(--bs--font-bold);
  font-size: 1.7rem;
  margin: -12px 0 20px;
  padding: 0 10px;
}

.floorplan-readonly-grid {
  display: grid;
  gap: 18px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.floorplan-readonly-grid label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.floorplan-readonly-grid label.wide {
  grid-column: span 2;
}

.floorplan-readonly-grid label span {
  font-family: var(--bs--font-bold);
  font-size: 1.3rem;
  margin-bottom: 7px;
}

.floorplan-readonly-grid input,
.floorplan-readonly-grid select {
  background: var(--bs--color-grises-gris-5);
  border: 1px solid var(--bs--color-grises-gris-30);
  border-radius: 4px;
  box-sizing: border-box;
  color: var(--bs--color-principal-negro);
  font-family: overpassregular, sans-serif;
  font-size: 1.4rem;
  height: 40px;
  min-width: 0;
  padding: 0 10px;
  width: 100%;
}

.floorplan-operation-form .floorplan-readonly-grid input:not([readonly]),
.floorplan-operation-form .floorplan-readonly-grid select {
  background: #fff;
}

.floorplan-operation-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 24px;
}

.floorplan-create-form {
  margin-top: 24px;
}

.floorplan-create-form .floorplan-detail-columns {
  align-items: start;
}

.floorplan-inline-action {
  align-items: end;
  display: flex;
  min-height: 40px;
}

.floorplan-inline-action .bs-btn {
  width: 100%;
}

.floorplan-check-label {
  align-items: center;
  flex-direction: row !important;
  gap: 8px;
  min-height: 40px;
}

.floorplan-check-label input {
  height: 18px !important;
  width: 18px !important;
}

.floorplan-create-status {
  color: var(--bs--color-principal-azul);
  margin-top: 16px;
  text-align: right;
}

.floorplan-state-form {
  align-items: end;
  background: var(--bs--color-grises-gris-5);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 2fr) auto;
  margin-bottom: 24px;
  padding: 18px;
}

.floorplan-state-form label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.floorplan-state-form label span {
  font-family: var(--bs--font-bold);
  font-size: 1.3rem;
  margin-bottom: 7px;
}

.floorplan-state-form select,
.floorplan-state-form textarea {
  background: #fff;
  border: 1px solid var(--bs--color-grises-gris-40);
  border-radius: 4px;
  box-sizing: border-box;
  font-family: overpassregular, sans-serif;
  font-size: 1.4rem;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.floorplan-tab-section {
  margin-top: 34px;
}

.floorplan-section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.floorplan-detail-table {
  min-width: 900px;
}

.floorplan-document-link {
  color: var(--bs--color-principal-azul);
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.floorplan-document-link:hover,
.floorplan-document-link:focus-visible {
  color: var(--bs--color-principal-verde-hover);
}

.floorplan-history-document {
  align-items: center;
  color: var(--bs--color-principal-azul);
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
}

.floorplan-history-document img {
  flex: 0 0 30px;
  height: 30px;
  width: 30px;
}

.floorplan-history-document span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.floorplan-history-document:hover,
.floorplan-history-document:focus-visible {
  color: var(--bs--color-principal-verde-hover);
}

.floorplan-document-viewer {
  background: var(--bs--color-principal-blanco);
  border: 1px solid var(--bs--color-grises-gris-40);
  border-radius: 4px;
  box-shadow: 0 12px 36px rgb(0 0 0 / 24%);
  height: min(88vh, 900px);
  margin: auto;
  max-height: 900px;
  max-width: 1180px;
  padding: 0;
  width: min(92vw, 1180px);
}

.floorplan-document-viewer::backdrop {
  background: rgb(0 0 0 / 55%);
}

.floorplan-document-viewer[open] {
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr);
}

.floorplan-document-viewer > header {
  align-items: center;
  border-bottom: 1px solid var(--bs--color-grises-gris-30);
  display: flex;
  justify-content: space-between;
  padding: 0 14px 0 20px;
}

.floorplan-document-viewer > header h2 {
  color: var(--bs--color-principal-azul);
  font-family: overpassregular, sans-serif;
  font-size: 1.8rem;
  margin: 0;
}

.floorplan-document-viewer-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--bs--color-grises-gris-80);
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.floorplan-document-viewer-close::before {
  content: "\00d7";
  font-size: 3rem;
  line-height: 1;
}

.floorplan-document-viewer-close:hover,
.floorplan-document-viewer-close:focus-visible {
  color: var(--bs--color-principal-verde-hover);
}

.floorplan-document-viewer-body {
  min-height: 0;
  position: relative;
}

.floorplan-document-viewer iframe {
  background: var(--bs--color-principal-blanco);
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.floorplan-document-viewer iframe[hidden],
.floorplan-document-viewer-loading[hidden],
.floorplan-document-viewer-error[hidden] {
  display: none;
}

.floorplan-document-viewer-loading {
  align-items: center;
  color: var(--bs--color-grises-gris-70);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.floorplan-document-viewer-error {
  align-items: center;
  color: var(--bs--color-grises-gris-80);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 32px;
  position: absolute;
  text-align: center;
}

.floorplan-document-viewer-error-icon {
  align-items: center;
  background: var(--floorplan-santander-red-soft, #fff1f1);
  border: 1px solid var(--floorplan-santander-border, #e4ddda);
  border-radius: 50%;
  color: var(--floorplan-santander-red, #ec0000);
  display: inline-flex;
  height: 72px;
  justify-content: center;
  margin-bottom: 20px;
  width: 72px;
}

.floorplan-document-viewer-error-icon svg {
  fill: none;
  height: 36px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 36px;
}

.floorplan-document-viewer-error h3 {
  color: var(--bs--color-principal-azul);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.floorplan-document-viewer-error p {
  color: var(--bs--color-grises-gris-70);
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
}

.floorplan-document-viewer-error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 700px) {
  .floorplan-document-viewer {
    height: 94vh;
    width: 96vw;
  }

  .floorplan-document-viewer-error {
    padding: 24px 18px;
  }

  .floorplan-document-viewer-error-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 280px);
  }
}

.floorplan-writing-table {
  min-width: 560px;
}

.floorplan-writing-table input[type="checkbox"] {
  height: 18px;
  width: 18px;
}

.floorplan-sign-dot {
  border: 3px solid var(--bs--color-grises-gris-40);
  border-radius: 50%;
  display: inline-block;
  height: 18px;
  width: 18px;
}

.floorplan-sign-dot.state-1 {
  border-color: var(--bs--color-principal-verde);
  background: var(--bs--color-principal-verde);
}

.floorplan-sign-dot.state-2 {
  border-color: var(--bs--color-validacion-amarillo-50);
  background: var(--bs--color-validacion-amarillo-50);
}

.floorplan-empty-inline {
  color: var(--bs--color-grises-gris-70);
  font-family: overpassregular, sans-serif;
  padding: 22px 8px;
  text-align: center;
}

.field-validation-error,
.validation-summary-errors {
  color: var(--bs--color-secundario-rojo);
  display: block;
  font-size: 1.3rem;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .bs-header .actions figcaption {
    display: none;
  }

  .floorplan-form-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .floorplan-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .floorplan-filter-actions .bs-btn {
    justify-content: center;
    width: 100%;
  }

  .floorplan-representative-header {
    align-items: stretch;
    flex-direction: column;
    padding: 20px 0;
  }

  .floorplan-representative-selector {
    flex-basis: auto;
    max-width: none;
  }

  .floorplan-summary-grid,
  .floorplan-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floorplan-summary-grid .bs-simple-data,
  .floorplan-credit-grid .bs-simple-data {
    border-bottom: 1px solid var(--bs--color-grises-gris-20);
    border-right: 0;
    padding: 14px 8px;
  }

  .floorplan-detail-columns,
  .floorplan-writing-grid {
    grid-template-columns: 1fr;
  }

  .floorplan-readonly-grid {
    grid-template-columns: 1fr;
  }

  .floorplan-readonly-grid label.wide {
    grid-column: auto;
  }

  .floorplan-state-form {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .floorplan-summary-grid,
  .floorplan-credit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floorplan-detail-columns {
    grid-template-columns: 1fr;
  }
}

/* Shared shell accents. The global tokens are declared with the full system below. */

body.floorplan-santander-theme .bs-header.privado {
  background: #fff;
  border-bottom: 1px solid var(--floorplan-santander-border);
  border-top: 5px solid var(--floorplan-santander-red);
  box-shadow: 0 3px 16px rgba(45, 38, 35, 0.07);
}

body.floorplan-santander-theme .bs-header.privado .logo {
  align-items: center;
  display: inline-flex;
  flex: 0 0 164px;
  height: 52px;
  margin: 0 12px 0 0;
  overflow: hidden;
  width: 164px;
}

body.floorplan-santander-theme .bs-header.privado .logo img {
  display: block;
  height: auto;
  margin: 0;
  max-width: none;
  object-fit: initial;
  width: 164px;
}

@media (max-width: 768px) {
  body.floorplan-santander-theme .bs-header.privado .logo {
    flex-basis: 142px;
    margin-right: 6px;
    width: 142px;
  }

  body.floorplan-santander-theme .bs-header.privado .logo img {
    width: 142px;
  }
}

@media (max-width: 420px) {
  body.floorplan-santander-theme .bs-header.privado .logo {
    flex-basis: 126px;
    width: 126px;
  }

  body.floorplan-santander-theme .bs-header.privado .logo img {
    width: 126px;
  }
}

body.floorplan-santander-theme .bs-header .actions a,
body.floorplan-santander-theme .bs-header .actions h4 {
  color: var(--floorplan-santander-ink);
}

body.floorplan-santander-theme .bs-header .actions a:hover,
body.floorplan-santander-theme .bs-header .actions a:focus-visible {
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .bs-header .actions figure img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(7475%) hue-rotate(358deg) brightness(94%) contrast(114%);
}

body.floorplan-santander-theme header.bs-header.privado button.menu[data-menu-toggle]:focus-visible,
body.floorplan-santander-theme .bs-menu-module.lateral button.close[data-menu-close]:focus-visible {
  outline-color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link:hover,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link.active,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > input:checked + label.parent {
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link.active::before {
  background: var(--floorplan-santander-red);
}

.floorplan-panel-general {
  color: var(--floorplan-santander-ink);
  padding-top: 2px;
}

.floorplan-panel-general .floorplan-filter-panel {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid var(--floorplan-santander-red);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
  padding: 22px 24px 20px;
}

.floorplan-panel-general .floorplan-filter-header {
  align-items: flex-start;
  border-bottom: 1px solid #eeeae7;
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
}

.floorplan-panel-general .floorplan-section-kicker {
  color: var(--floorplan-santander-red-dark);
  display: block;
  font-family: var(--bs--font-bold);
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.floorplan-panel-general .floorplan-filter-header h1,
.floorplan-panel-general .floorplan-results-heading h2 {
  color: #292524;
  font-family: var(--bs--font-bold);
  font-weight: 600;
  margin: 0;
}

.floorplan-panel-general .floorplan-filter-header h1 {
  font-size: 2.2rem;
  line-height: 1.25;
}

.floorplan-panel-general .floorplan-filter-header p {
  color: var(--floorplan-santander-muted);
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 5px 0 0;
}

.floorplan-panel-general .floorplan-form-grid {
  gap: 18px 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.floorplan-panel-general .floorplan-form-grid label > span,
.floorplan-panel-general .floorplan-bansa-actions label span {
  color: var(--floorplan-santander-ink);
  font-family: var(--bs--font-bold);
}

.floorplan-panel-general .floorplan-form-grid input,
.floorplan-panel-general .floorplan-form-grid select,
.floorplan-panel-general .floorplan-bansa-actions select {
  border-color: var(--floorplan-santander-border);
  color: var(--floorplan-santander-ink);
}

.floorplan-panel-general .floorplan-form-grid input:hover,
.floorplan-panel-general .floorplan-form-grid select:hover,
.floorplan-panel-general .floorplan-bansa-actions select:hover {
  border-color: #aaa19c;
}

.floorplan-panel-general .floorplan-form-grid input:focus,
.floorplan-panel-general .floorplan-form-grid select:focus,
.floorplan-panel-general .floorplan-bansa-actions select:focus {
  border-color: var(--floorplan-santander-red);
  box-shadow: 0 0 0 3px rgba(236, 0, 0, 0.14);
  outline: 0;
}

.floorplan-panel-general .floorplan-filter-actions {
  border-top: 1px solid #eeeae7;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 18px;
}

.floorplan-panel-general .floorplan-filter-secondary-actions {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.floorplan-panel-general .floorplan-filter-actions .bs-btn-back {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  color: var(--floorplan-santander-ink);
  min-width: auto;
  padding-left: 14px;
  padding-right: 14px;
}

.floorplan-panel-general .floorplan-filter-actions .bs-btn-back:first-child {
  margin-right: 0;
}

.floorplan-panel-general .floorplan-filter-actions .bs-btn-back:hover,
.floorplan-panel-general .floorplan-filter-actions .bs-btn-back:focus-visible {
  background: var(--floorplan-santander-surface);
  border-color: #aaa19c;
  color: var(--floorplan-santander-red-dark);
}

.floorplan-panel-general .bs-btn-primary,
.floorplan-panel-general .floorplan-bansa-actions .bs-btn-secondary {
  background: var(--floorplan-santander-red);
  border: 1px solid var(--floorplan-santander-red);
  color: #fff;
}

.floorplan-panel-general .floorplan-filter-actions > .bs-btn-primary {
  min-width: 132px;
}

.floorplan-panel-general .bs-btn-primary:hover,
.floorplan-panel-general .bs-btn-primary:focus-visible,
.floorplan-panel-general .floorplan-bansa-actions .bs-btn-secondary:hover,
.floorplan-panel-general .floorplan-bansa-actions .bs-btn-secondary:focus-visible {
  background: var(--floorplan-santander-red-dark);
  border-color: var(--floorplan-santander-red-dark);
  color: #fff;
}

.floorplan-panel-general .bs-btn-primary:focus-visible,
.floorplan-panel-general .floorplan-bansa-actions .bs-btn-secondary:focus-visible,
.floorplan-panel-general .floorplan-add-operation:focus-visible,
.floorplan-panel-general .floorplan-operation-link:focus-visible,
.floorplan-panel-general .floorplan-pagination button:focus-visible,
.floorplan-panel-general .floorplan-pagination select:focus-visible {
  box-shadow: 0 0 0 3px rgba(236, 0, 0, 0.2);
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.floorplan-panel-general .floorplan-results-toolbar {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid var(--floorplan-santander-red);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(45, 38, 35, 0.04);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 22px 0 14px;
  min-height: 72px;
  padding: 14px 18px;
}

.floorplan-panel-general .floorplan-results-heading {
  min-width: 0;
}

.floorplan-panel-general .floorplan-results-heading h2 {
  font-size: 1.8rem;
  line-height: 1.25;
}

.floorplan-panel-general .floorplan-results-heading p {
  align-items: baseline;
  color: var(--floorplan-santander-muted);
  display: flex;
  font-size: 1.25rem;
  gap: 5px;
  margin: 5px 0 0;
}

.floorplan-panel-general .floorplan-results-heading p strong {
  color: var(--floorplan-santander-red-dark);
  font-family: var(--bs--font-bold);
  font-size: 1.4rem;
}

.floorplan-panel-general .floorplan-results-actions {
  align-items: end;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.floorplan-panel-general .floorplan-results-actions .floorplan-bansa-actions {
  margin-bottom: 0;
}

.floorplan-panel-general .floorplan-add-operation {
  align-items: center;
  background: var(--floorplan-santander-red);
  border: 1px solid var(--floorplan-santander-red);
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-family: var(--bs--font-bold);
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  text-decoration: none;
}

.floorplan-panel-general .floorplan-add-operation > span {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.floorplan-panel-general .floorplan-add-operation:hover,
.floorplan-panel-general .floorplan-add-operation:focus-visible {
  background: var(--floorplan-santander-red-dark);
  border-color: var(--floorplan-santander-red-dark);
  color: #fff;
}

.floorplan-panel-general .floorplan-add-operation:disabled {
  background: #d8d3d0;
  border-color: #d8d3d0;
  color: #706966;
  cursor: not-allowed;
}

.floorplan-panel-general .floorplan-table-wrap {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
}

.floorplan-panel-general .floorplan-table {
  background: #fff;
}

.floorplan-panel-general .floorplan-table th,
.floorplan-panel-general .floorplan-table td {
  border-color: #e7e2de;
}

.floorplan-panel-general .floorplan-table th {
  background: #f2efed;
  border-bottom: 2px solid #d5ceca;
  color: #514a47;
  letter-spacing: 0;
}

.floorplan-panel-general .floorplan-table tbody tr:nth-child(even) td {
  background: #fcfbfa;
}

.floorplan-panel-general .floorplan-table tbody tr:hover td {
  background: #fff5f5;
}

.floorplan-panel-general .floorplan-operation-link {
  color: var(--floorplan-santander-red-dark);
  font-family: var(--bs--font-bold);
  min-width: 0;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.floorplan-panel-general .floorplan-operation-link:hover {
  color: #850000;
}

.floorplan-panel-general .floorplan-status-badge {
  background: #fff0f0;
  border-left: 3px solid var(--floorplan-santander-red);
  border-radius: 3px;
  color: #7e1010;
  display: inline-block;
  font-family: var(--bs--font-bold);
  font-size: 1.2rem;
  line-height: 1.35;
  max-width: 100%;
  padding: 4px 8px;
  white-space: normal;
}

.floorplan-panel-general .floorplan-status-history-button {
  border-bottom: 0;
  border-right: 0;
  border-top: 0;
  cursor: pointer;
  text-align: left;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.floorplan-panel-general .floorplan-status-history-button:hover,
.floorplan-panel-general .floorplan-status-history-button:focus-visible {
  background: #ffe2e2;
  border-left-color: var(--floorplan-santander-red-dark);
  color: #650000;
}

.floorplan-panel-general .floorplan-status-history-button:focus-visible {
  outline: 2px solid var(--floorplan-petrol, #005b67);
  outline-offset: 2px;
}

.floorplan-cav-dialog.floorplan-operation-history-dialog {
  box-sizing: border-box;
  max-height: min(92vh, 860px);
  max-width: 1120px;
  overflow: hidden;
  width: min(96vw, 1120px);
}

.floorplan-cav-dialog.floorplan-operation-history-dialog > header {
  box-sizing: border-box;
  padding-left: 24px;
  width: 100%;
}

.floorplan-cav-dialog.floorplan-operation-history-dialog > footer {
  align-items: center;
  border-top: 1px solid var(--floorplan-santander-border);
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  padding: 13px 22px;
  width: 100%;
}

.floorplan-operation-history-body {
  box-sizing: border-box;
  max-height: calc(min(92vh, 860px) - 126px);
  min-height: 250px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px;
  width: 100%;
}

.floorplan-operation-history-summary {
  background: #f8f6f5;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid var(--floorplan-santander-red);
  display: grid;
  gap: 18px;
  grid-template-columns: .7fr 1.4fr 1fr;
  margin-bottom: 18px;
  padding: 13px 16px;
}

.floorplan-operation-history-summary div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.floorplan-operation-history-summary span {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.floorplan-operation-history-summary strong {
  color: var(--floorplan-santander-ink);
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.floorplan-operation-history-update {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-top: 3px solid var(--floorplan-santander-red);
  margin-bottom: 18px;
  padding: 15px 16px 16px;
}

.floorplan-operation-history-update-heading {
  align-items: end;
  border-bottom: 1px solid var(--floorplan-santander-border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 13px;
  padding-bottom: 10px;
}

.floorplan-operation-history-update-heading span {
  color: var(--floorplan-santander-red-dark);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.floorplan-operation-history-update-heading h3 {
  font-size: 1.55rem;
  margin: 2px 0 0;
}

.floorplan-operation-history-update-heading p {
  color: var(--floorplan-santander-muted);
  margin: 0;
  text-align: right;
}

.floorplan-operation-history-update form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, .75fr) minmax(260px, 1.6fr) minmax(150px, auto);
  min-width: 0;
}

.floorplan-operation-history-update label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.floorplan-operation-history-update label > span {
  color: var(--floorplan-santander-ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.floorplan-operation-history-update select,
.floorplan-operation-history-update textarea {
  background: #fff;
  border: 1px solid #bdb6b2;
  border-radius: 4px;
  box-shadow: none;
  color: var(--floorplan-santander-ink);
  font: inherit;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.floorplan-operation-history-update textarea {
  min-height: 58px;
  resize: vertical;
}

.floorplan-operation-history-update select:focus-visible,
.floorplan-operation-history-update textarea:focus-visible {
  border-color: var(--floorplan-petrol, #005b67);
  outline: 2px solid var(--floorplan-petrol, #005b67);
  outline-offset: 1px;
}

.floorplan-operation-history-update .floorplan-alert {
  margin: 0 0 12px;
}

.floorplan-operation-history-table-wrap {
  border: 1px solid var(--floorplan-santander-border);
  max-height: min(55vh, 540px);
  max-width: 100%;
  overflow: auto;
  width: 100%;
}

.floorplan-operation-history-table {
  min-width: 760px;
}

.floorplan-operation-history-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.floorplan-operation-history-table th:nth-child(1) { width: 105px; }
.floorplan-operation-history-table th:nth-child(2) { width: 155px; }
.floorplan-operation-history-table th:nth-child(3) { width: 170px; }
.floorplan-operation-history-table th:nth-child(4) { width: 185px; }

.floorplan-operation-history-action {
  background: #edf6f7;
  border-radius: 3px;
  color: var(--floorplan-petrol, #005b67);
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 3px 7px;
  text-transform: uppercase;
}

.floorplan-operation-history-action.is-state {
  background: #fce8e8;
  color: var(--floorplan-santander-red-dark);
}

.floorplan-operation-history-loading,
.floorplan-operation-history-empty {
  align-items: center;
  color: var(--floorplan-santander-muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  text-align: center;
}

.floorplan-operation-history-loading strong,
.floorplan-operation-history-empty strong {
  color: var(--floorplan-santander-ink);
  font-size: 1.55rem;
  margin-top: 13px;
}

.floorplan-operation-history-loading p,
.floorplan-operation-history-empty p {
  margin: 5px 0 0;
}

.floorplan-operation-history-loading-track {
  background: #e8e3e0;
  border-radius: 2px;
  display: block;
  height: 4px;
  overflow: hidden;
  width: min(260px, 70%);
}

.floorplan-operation-history-loading-track span {
  animation: floorplan-history-loading 1.15s ease-in-out infinite;
  background: var(--floorplan-santander-red);
  display: block;
  height: 100%;
  width: 38%;
}

.floorplan-operation-history-empty > span {
  border: 2px solid var(--floorplan-petrol, #005b67);
  border-radius: 50%;
  height: 34px;
  position: relative;
  width: 34px;
}

.floorplan-operation-history-empty > span::before,
.floorplan-operation-history-empty > span::after {
  background: var(--floorplan-petrol, #005b67);
  content: "";
  left: 15px;
  position: absolute;
  transform-origin: bottom center;
  width: 2px;
}

.floorplan-operation-history-empty > span::before {
  height: 9px;
  top: 7px;
}

.floorplan-operation-history-empty > span::after {
  height: 7px;
  top: 10px;
  transform: rotate(120deg);
}

.floorplan-operation-history-error {
  margin: 28px 0;
}

@keyframes floorplan-history-loading {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(290%); }
}

@media (max-width: 760px) {
  .floorplan-cav-dialog.floorplan-operation-history-dialog {
    max-height: 96vh;
    width: 96vw;
  }

  .floorplan-operation-history-body {
    max-height: calc(96vh - 122px);
    padding: 16px;
  }

  .floorplan-operation-history-summary {
    grid-template-columns: 1fr;
  }

  .floorplan-operation-history-update-heading {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .floorplan-operation-history-update-heading p {
    text-align: left;
  }

  .floorplan-operation-history-update form {
    grid-template-columns: 1fr;
  }

  .floorplan-operation-history-update form .bs-btn {
    width: 100%;
  }

  .floorplan-operation-history-table {
    min-width: 700px;
  }
}

.floorplan-panel-general input[type="checkbox"] {
  accent-color: var(--floorplan-santander-red);
}

.floorplan-panel-general .floorplan-pagination {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-top: 0;
  display: flex;
  justify-content: space-between;
  min-height: 58px;
  padding: 8px 12px 8px 16px;
}

.floorplan-panel-general .floorplan-pagination p {
  color: var(--floorplan-santander-muted);
  font-size: 1.3rem;
  margin: 0;
}

.floorplan-panel-general .floorplan-pagination-controls,
.floorplan-panel-general .floorplan-pagination-controls label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.floorplan-panel-general .floorplan-pagination-controls label {
  color: var(--floorplan-santander-muted);
  margin-right: 10px;
}

.floorplan-panel-general .floorplan-pagination select,
.floorplan-panel-general .floorplan-pagination button {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 3px;
  color: var(--floorplan-santander-ink);
  height: 34px;
}

.floorplan-panel-general .floorplan-pagination select {
  min-width: 64px;
  padding: 0 8px;
}

.floorplan-panel-general .floorplan-pagination button {
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  width: 34px;
}

.floorplan-panel-general .floorplan-pagination button:hover:not(:disabled) {
  background: #fff0f0;
  border-color: var(--floorplan-santander-red);
  color: var(--floorplan-santander-red-dark);
}

.floorplan-panel-general .floorplan-pagination button:disabled {
  background: #f3f1ef;
  color: #aaa39f;
  cursor: not-allowed;
}

.floorplan-panel-general .floorplan-pagination [data-page-indicator] {
  color: var(--floorplan-santander-ink);
  font-family: var(--bs--font-bold);
  min-width: 92px;
  text-align: center;
}

.floorplan-panel-general .floorplan-alert.error {
  border-left: 4px solid var(--floorplan-santander-red);
}

@media (max-width: 1180px) {
  .floorplan-panel-general .floorplan-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .floorplan-panel-general .floorplan-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floorplan-panel-general .floorplan-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .floorplan-panel-general .floorplan-filter-actions > .bs-btn-primary {
    align-self: flex-end;
    min-width: 160px;
  }

  .floorplan-panel-general .floorplan-results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .floorplan-panel-general .floorplan-results-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .floorplan-panel-general .floorplan-filter-panel {
    padding: 18px 16px 16px;
  }

  .floorplan-panel-general .floorplan-filter-header h1 {
    font-size: 2rem;
  }

  .floorplan-panel-general .floorplan-filter-secondary-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .floorplan-panel-general .floorplan-filter-actions > .bs-btn-primary {
    align-self: stretch;
    width: 100%;
  }

  .floorplan-panel-general .floorplan-results-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .floorplan-panel-general .floorplan-results-actions,
  .floorplan-panel-general .floorplan-results-actions .floorplan-bansa-actions,
  .floorplan-panel-general .floorplan-add-operation {
    width: 100%;
  }

  .floorplan-panel-general .floorplan-results-actions .floorplan-bansa-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .floorplan-panel-general .floorplan-results-actions .floorplan-bansa-actions label {
    min-width: 0;
    width: 100%;
  }

  .floorplan-panel-general .floorplan-add-operation {
    box-sizing: border-box;
    justify-content: center;
  }

  .floorplan-panel-general .floorplan-pagination {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .floorplan-panel-general .floorplan-pagination-controls {
    justify-content: space-between;
  }

  .floorplan-panel-general .floorplan-pagination-controls label {
    margin-right: auto;
  }
}

/* Billing purchase count. */
.floorplan-billing-page .floorplan-billing-count {
  color: var(--floorplan-santander-ink);
  font-family: var(--bs--font-bold);
  font-size: clamp(3.6rem, 6vw, 5.6rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin: 20px 0 8px;
}

.floorplan-billing-page .floorplan-billing-period {
  color: var(--floorplan-santander-muted);
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 4px 0 0;
}

.floorplan-reports-page.floorplan-billing-page .floorplan-form-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 280px));
}

.floorplan-billing-page .floorplan-report-filter-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.floorplan-billing-page .floorplan-report-filter-actions > form {
  display: flex;
  margin: 0;
}

/* Reports workspace. */
.floorplan-reports-page {
  color: var(--floorplan-santander-ink);
  padding-top: 24px;
}

.floorplan-reports-header {
  border-bottom: 1px solid var(--floorplan-santander-border);
  margin-bottom: 20px;
  padding: 0 4px 18px;
}

.floorplan-reports-kicker {
  color: var(--floorplan-santander-red-dark);
  display: block;
  font-family: var(--bs--font-bold);
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.floorplan-reports-header h1 {
  color: #292524;
  font-family: var(--bs--font-bold);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.floorplan-reports-header p,
.floorplan-report-section-heading p {
  color: var(--floorplan-santander-muted);
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 5px 0 0;
}

.floorplan-report-form {
  display: block;
  margin-top: 20px;
}

.floorplan-report-filters {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid var(--floorplan-santander-red);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
  padding: 20px 22px 22px;
}

.floorplan-report-section-heading {
  border-bottom: 1px solid #eeeae7;
  padding-bottom: 14px;
}

.floorplan-report-section-heading h2 {
  color: #292524;
  font-family: var(--bs--font-bold);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.floorplan-reports-page .floorplan-form-grid {
  gap: 18px 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.floorplan-reports-page .floorplan-form-grid label > span {
  color: var(--floorplan-santander-ink);
  font-family: var(--bs--font-bold);
}

.floorplan-reports-page .floorplan-form-grid input,
.floorplan-reports-page .floorplan-form-grid select {
  border-color: var(--floorplan-santander-border);
}

.floorplan-reports-page .floorplan-form-grid input:focus,
.floorplan-reports-page .floorplan-form-grid select:focus {
  border-color: var(--floorplan-santander-red);
  box-shadow: 0 0 0 3px rgba(236, 0, 0, 0.14);
  outline: 0;
}

.floorplan-report-filter-actions {
  border-top: 1px solid #eeeae7;
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
  padding-top: 16px;
}

.floorplan-report-filter-actions .bs-btn-back {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  color: var(--floorplan-santander-ink);
  min-height: 38px;
  padding: 0 14px;
}

.floorplan-report-filter-actions .bs-btn-back img {
  height: 20px;
  object-fit: contain;
  width: 20px;
}

.floorplan-report-filter-actions .bs-btn-back:hover,
.floorplan-report-filter-actions .bs-btn-back:focus-visible {
  background: var(--floorplan-santander-surface);
  border-color: var(--floorplan-santander-border-strong);
  color: var(--floorplan-santander-red-dark);
}

.floorplan-report-list {
  margin-top: 28px;
}

.floorplan-report-list > .floorplan-report-section-heading {
  padding-left: 4px;
}

.floorplan-report-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.floorplan-report-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  box-sizing: border-box;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 168px;
  padding: 20px;
}

.floorplan-report-card figure {
  align-self: start;
  background: #f1f8f3;
  border: 1px solid #dceee1;
  border-radius: 6px;
  display: grid;
  height: 48px;
  margin: 0;
  place-items: center;
  width: 48px;
}

.floorplan-report-card figure img {
  height: 28px;
  object-fit: contain;
  width: 28px;
}

.floorplan-report-card h3 {
  color: #292524;
  font-family: var(--bs--font-bold);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
}

.floorplan-report-card p {
  color: var(--floorplan-santander-muted);
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 5px 0 0;
}

.floorplan-report-card .bs-btn-primary {
  background: var(--floorplan-santander-red);
  border: 1px solid var(--floorplan-santander-red);
  color: #fff;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 42px;
  width: 100%;
}

.floorplan-report-card .bs-btn-primary:hover,
.floorplan-report-card .bs-btn-primary:focus-visible {
  background: var(--floorplan-santander-red-dark);
  border-color: var(--floorplan-santander-red-dark);
  color: #fff;
}

@media (max-width: 1100px) {
  .floorplan-reports-page .floorplan-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .floorplan-report-grid {
    grid-template-columns: 1fr;
  }

  .floorplan-reports-page .floorplan-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .floorplan-reports-page {
    padding-top: 16px;
  }

  .floorplan-report-filters {
    padding: 18px 16px;
  }

  .floorplan-reports-page .floorplan-form-grid {
    grid-template-columns: 1fr;
  }

  .floorplan-report-filter-actions .bs-btn-back {
    justify-content: center;
    width: 100%;
  }

  .floorplan-report-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 16px;
  }

  .floorplan-report-card figure {
    height: 42px;
    width: 42px;
  }
}

/* Global Santander design system for every MVC surface. */
body.floorplan-santander-theme {
  --floorplan-santander-red: #ec0000;
  --floorplan-santander-red-dark: #b80000;
  --floorplan-santander-red-deep: #850000;
  --floorplan-santander-ink: #342f2d;
  --floorplan-santander-muted: #706966;
  --floorplan-santander-surface: #f7f5f3;
  --floorplan-santander-surface-soft: #fbfaf9;
  --floorplan-santander-border: #ddd7d2;
  --floorplan-santander-border-strong: #bcb3ae;
  --floorplan-santander-soft-red: #fff0f0;
  --floorplan-santander-success: #137a3d;
  --floorplan-santander-success-soft: #e9f6ee;
  --floorplan-petrol: #164c5a;
  --floorplan-petrol-dark: #0d3540;
  --floorplan-petrol-soft: #e8f1f3;
  --floorplan-santander-warning: #8a5a00;
  --floorplan-santander-warning-soft: #fff7df;
  --bs--color-principal-verde: #ec0000;
  --bs--color-principal-verde-hover: #b80000;
  --bs--color-principal-azul: #b80000;
  --bs--color-principal-azul-hover: #850000;
  --bs--color-principal-negro: #342f2d;
  --bs--color-grises-gris-5: #fbfaf9;
  --bs--color-grises-gris-10: #f4f1ef;
  --bs--color-grises-gris-20: #e7e2de;
  --bs--color-grises-gris-30: #d9d3cf;
  --bs--color-grises-gris-40: #c7bfba;
  --bs--color-grises-gris-60: #918883;
  --bs--color-grises-gris-70: #706966;
  --bs--color-grises-gris-80: #514a47;
  background: var(--floorplan-santander-surface);
  color: var(--floorplan-santander-ink);
  min-height: 100vh;
}

body.floorplan-santander-theme .floorplan-page-content {
  background: var(--floorplan-santander-surface);
}

body.floorplan-santander-theme .floorplan-page {
  color: var(--floorplan-santander-ink);
  padding-top: 2px;
}

body.floorplan-santander-theme a {
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme a:hover,
body.floorplan-santander-theme a:focus-visible {
  color: var(--floorplan-santander-red-deep);
}

body.floorplan-santander-theme .bs-azul,
body.floorplan-santander-theme .titulo-header,
body.floorplan-santander-theme .floorplan-page-heading h3 {
  color: var(--floorplan-santander-red-dark) !important;
  letter-spacing: 0;
}

body.floorplan-santander-theme .text-danger {
  color: var(--floorplan-santander-red-dark) !important;
}

body.floorplan-santander-theme code {
  background: var(--floorplan-santander-soft-red);
  border-radius: 3px;
  color: var(--floorplan-santander-red-deep);
  padding: 2px 5px;
}

body.floorplan-santander-theme :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--floorplan-santander-red);
  outline-offset: 2px;
}

body.floorplan-santander-theme :where(input, select, textarea):not([type="checkbox"]):not([type="radio"]):focus {
  border-color: var(--floorplan-santander-red) !important;
  box-shadow: 0 0 0 3px rgba(236, 0, 0, 0.14) !important;
  outline: 0;
}

body.floorplan-santander-theme input[type="checkbox"],
body.floorplan-santander-theme input[type="radio"] {
  accent-color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .bs-btn-primary {
  background: var(--floorplan-santander-red);
  border-color: var(--floorplan-santander-red);
  color: #fff;
}

body.floorplan-santander-theme .bs-btn-primary:hover,
body.floorplan-santander-theme .bs-btn-primary:focus-visible {
  background: var(--floorplan-santander-red-dark);
  border-color: var(--floorplan-santander-red-dark);
  color: #fff;
}

body.floorplan-santander-theme .bs-btn-secondary {
  background: #fff;
  border-color: var(--floorplan-santander-red);
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .bs-btn-secondary:hover,
body.floorplan-santander-theme .bs-btn-secondary:focus-visible {
  background: var(--floorplan-santander-soft-red);
  border-color: var(--floorplan-santander-red-dark);
  color: var(--floorplan-santander-red-deep);
}

body.floorplan-santander-theme .bs-btn-back {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  color: var(--floorplan-santander-ink);
}

body.floorplan-santander-theme .bs-btn-back:hover,
body.floorplan-santander-theme .bs-btn-back:focus-visible {
  background: var(--floorplan-santander-surface-soft);
  border-color: var(--floorplan-santander-border-strong);
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .bs-btn-link {
  color: var(--floorplan-santander-red-dark);
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}

body.floorplan-santander-theme .bs-btn:disabled,
body.floorplan-santander-theme .bs-btn[disabled] {
  background: #e1ddda;
  border-color: #d5cfcb;
  color: #77706c;
  cursor: not-allowed;
  opacity: 1;
}

body.floorplan-santander-theme .bs-menu-module.lateral {
  background: #fff;
  border-right: 1px solid var(--floorplan-santander-border);
  border-top: 5px solid var(--floorplan-santander-red);
  box-shadow: 8px 0 28px rgba(45, 38, 35, 0.16);
}

body.floorplan-santander-theme .bs-menu-module.lateral > ul.menu > li {
  border-color: var(--floorplan-santander-border);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > label.parent,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-button {
  color: var(--floorplan-santander-ink);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > input:checked + label.parent,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link.active {
  background: var(--floorplan-santander-soft-red);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > label.parent:hover,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-button:hover {
  background: var(--floorplan-santander-surface-soft);
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > input:checked + label.parent figure,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > label.parent:hover figure,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-button:hover figure {
  filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(7475%) hue-rotate(358deg) brightness(94%) contrast(114%);
}

body.floorplan-santander-theme .floorplan-user-menu {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  box-shadow: 0 10px 24px rgba(45, 38, 35, 0.14);
}

body.floorplan-santander-theme .floorplan-user-menu .floorplan-user-logout:hover,
body.floorplan-santander-theme .floorplan-user-menu .floorplan-user-logout:focus-visible {
  background: var(--floorplan-santander-soft-red);
  color: var(--floorplan-santander-red-dark);
}

/* Login */
body.floorplan-santander-theme .floorplan-login-page {
  --floorplan-login-font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  align-items: center;
  background: #f7f8fa;
  box-sizing: border-box;
  display: flex;
  font-family: var(--floorplan-login-font);
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
}

body.floorplan-santander-theme .floorplan-login-page button,
body.floorplan-santander-theme .floorplan-login-page input {
  font-family: inherit;
}

body.floorplan-santander-theme .floorplan-login-container {
  max-width: 960px;
  width: 78vw;
}

body.floorplan-santander-theme .floorplan-login-card {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 18px;
  box-sizing: border-box;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.13);
  display: grid;
  grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
  height: min(600px, calc(100vh - 48px));
  min-height: 560px;
  overflow: hidden;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-login-brand {
  background: linear-gradient(145deg, #f0000b 0%, #e0000a 48%, #9e0005 100%);
  box-sizing: border-box;
  color: #fff;
  overflow: hidden;
  padding: 42px 44px;
  position: relative;
}

body.floorplan-santander-theme .floorplan-login-brand::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.2px, transparent 1.2px);
  background-size: 13px 13px;
  content: "";
  height: 210px;
  opacity: 0.34;
  position: absolute;
  right: -14px;
  top: 0;
  width: 270px;
}

body.floorplan-santander-theme .floorplan-login-brand > img:not(.floorplan-login-blueprint) {
  display: block;
  filter: brightness(0) invert(1);
  height: 46px;
  object-fit: cover;
  object-position: left center;
  position: relative;
  width: 150px;
  z-index: 1;
}

body.floorplan-santander-theme .floorplan-login-brand-copy {
  margin-top: 78px;
  position: relative;
  z-index: 2;
}

body.floorplan-santander-theme .floorplan-login-brand-copy h2 {
  color: #fff;
  font-family: inherit;
  font-size: 4.7rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 12px;
}

body.floorplan-santander-theme .floorplan-login-brand-copy p {
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-login-benefits {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  position: relative;
  z-index: 3;
}

body.floorplan-santander-theme .floorplan-login-benefits li {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 46px;
}

body.floorplan-santander-theme .floorplan-login-benefits li > span {
  align-items: center;
  background: rgba(110, 0, 5, 0.34);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

body.floorplan-santander-theme .floorplan-login-benefits img {
  filter: brightness(0) invert(1);
  height: 22px;
  width: 22px;
}

body.floorplan-santander-theme .floorplan-login-benefits p {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-login-blueprint {
  bottom: 45px;
  filter: brightness(0) invert(1);
  height: auto;
  opacity: 0.16;
  position: absolute;
  right: -60px;
  transform: rotate(-8deg);
  width: 220px;
  z-index: 1;
}

body.floorplan-santander-theme .floorplan-login-lines {
  bottom: 0;
  height: 62%;
  left: 48%;
  opacity: 0.3;
  overflow: hidden;
  position: absolute;
  right: 0;
}

body.floorplan-santander-theme .floorplan-login-lines span {
  border: 1px solid rgba(255, 177, 177, 0.82);
  bottom: -2px;
  display: block;
  position: absolute;
}

body.floorplan-santander-theme .floorplan-login-lines span:nth-child(1) {
  border-bottom: 0;
  height: 330px;
  left: 20px;
  transform: rotate(42deg);
  width: 480px;
}

body.floorplan-santander-theme .floorplan-login-lines span:nth-child(2) {
  border-bottom: 0;
  height: 178px;
  left: 128px;
  width: 102px;
}

body.floorplan-santander-theme .floorplan-login-lines span:nth-child(3) {
  border-bottom: 0;
  height: 108px;
  left: 214px;
  transform: rotate(35deg);
  transform-origin: bottom left;
  width: 128px;
}

body.floorplan-santander-theme .floorplan-login-panel {
  align-items: center;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 70px 52px 26px;
}

body.floorplan-santander-theme .floorplan-login-panel > * {
  max-width: 440px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-login-heading {
  border: 0;
  padding: 0;
}

body.floorplan-santander-theme .floorplan-login-heading h1 {
  color: #18181b;
  font-family: inherit;
  font-size: 3.6rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 10px;
}

body.floorplan-santander-theme .floorplan-login-heading p {
  color: #71717a;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-login-heading p strong {
  color: #e30613;
  font-family: inherit;
  font-weight: 400;
}

body.floorplan-santander-theme .floorplan-login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 0;
  max-width: 360px;
}

body.floorplan-santander-theme .floorplan-login-form .floorplan-alert {
  margin: 0;
}

body.floorplan-santander-theme .floorplan-login-form .bs-forms {
  box-shadow: none !important;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-login-form .bs-forms h5 {
  color: #18181b;
  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: 0;
  margin: 0 0 10px;
}

body.floorplan-santander-theme .floorplan-login-form .bs-required {
  color: #e30613;
  margin-left: 7px;
}

body.floorplan-santander-theme .floorplan-login-form .form-control {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  background-image: none;
  border: 1px solid #c7cbd1;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: none !important;
  color: var(--floorplan-santander-ink);
  filter: none;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  height: 52px;
  line-height: normal;
  outline: 0;
  padding: 0 54px 0 56px;
  text-shadow: none;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-login-form .form-control:hover {
  border-color: #b8bdc5;
  box-shadow: none !important;
}

body.floorplan-santander-theme .floorplan-login-input {
  background: transparent;
  border: 0;
  box-shadow: none !important;
  display: block;
  filter: none;
  outline: 0;
  position: relative;
}

body.floorplan-santander-theme .floorplan-login-input::before,
body.floorplan-santander-theme .floorplan-login-input::after {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  content: none;
  filter: none !important;
  outline: 0 !important;
}

body.floorplan-santander-theme .floorplan-login-input > img {
  filter: opacity(0.72);
  height: 24px;
  left: 16px;
  pointer-events: none;
  position: absolute;
  top: 14px;
  width: 24px;
  z-index: 2;
}

body.floorplan-santander-theme .floorplan-login-form .form-control::placeholder {
  color: #8c95a1;
  opacity: 1;
}

body.floorplan-santander-theme .floorplan-login-form .form-control:focus {
  border-color: #168a52 !important;
  box-shadow: none !important;
  filter: none !important;
  outline: 1px solid #168a52;
  outline-offset: 0;
}

body.floorplan-santander-theme .floorplan-login-form .form-control:active,
body.floorplan-santander-theme .floorplan-login-form .form-control:focus-visible,
body.floorplan-santander-theme .floorplan-login-form .form-control:-webkit-autofill {
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

body.floorplan-santander-theme .floorplan-login-input:focus-within .form-control {
  border-color: #168a52 !important;
  box-shadow: none !important;
  filter: none !important;
  outline: 1px solid #168a52;
  outline-offset: 0;
}

body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password {
  background-color: transparent !important;
  background-image: url("../assets/img/svg/icon-ui-vista.svg") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 24px 24px !important;
  border: 0;
  border-radius: 0 8px 8px 0;
  height: 50px;
  margin: 1px;
  opacity: 0.78;
  position: absolute;
  right: 0;
  top: 0;
  transition: background-color 150ms ease, opacity 150ms ease;
  width: 48px;
}

body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password figure {
  display: none;
}

body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password:hover,
body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password:focus-visible {
  background-color: var(--floorplan-santander-soft-red) !important;
  opacity: 1;
}

body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password.active::after {
  background: var(--floorplan-santander-red-dark);
  content: "";
  height: 2px;
  left: 12px;
  position: absolute;
  top: 24px;
  transform: rotate(-42deg);
  width: 24px;
}

body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password:focus-visible {
  box-shadow: none !important;
  outline: 2px solid #168a52;
  outline-offset: -4px;
}

body.floorplan-santander-theme .floorplan-login-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: -8px;
}

body.floorplan-santander-theme .floorplan-login-actions .bs-btn-link {
  align-self: flex-end;
  color: #e30613;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 28px;
  min-width: 0;
  padding: 0;
  text-decoration: none;
}

body.floorplan-santander-theme .floorplan-login-actions .bs-btn-link:hover,
body.floorplan-santander-theme .floorplan-login-actions .bs-btn-link:focus-visible {
  color: #c6000b;
  text-decoration: underline;
}

body.floorplan-santander-theme .floorplan-login-actions .bs-btn-primary {
  background: #ec0000;
  border: 0;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 650;
  justify-content: center;
  letter-spacing: 0;
  min-height: 52px;
  transition: background-color 200ms ease, transform 150ms ease, box-shadow 200ms ease;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-login-actions .bs-btn-primary:hover,
body.floorplan-santander-theme .floorplan-login-actions .bs-btn-primary:focus-visible {
  background: #d90009;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.18);
}

body.floorplan-santander-theme .floorplan-login-actions .bs-btn-primary:active {
  transform: translateY(1px);
}

body.floorplan-santander-theme .floorplan-login-security {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce9e1;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  margin-top: 14px;
  max-width: 360px;
  min-height: 52px;
  padding: 9px 11px;
}

body.floorplan-santander-theme .floorplan-login-security-icon {
  align-items: center;
  background: rgba(22, 138, 82, 0.10);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 32px;
  height: 32px;
  justify-content: center;
  width: 32px;
}

body.floorplan-santander-theme .floorplan-login-security-icon img,
body.floorplan-santander-theme .floorplan-login-security-shield {
  filter: invert(42%) sepia(21%) saturate(1638%) hue-rotate(102deg) brightness(86%) contrast(94%);
}

body.floorplan-santander-theme .floorplan-login-security-icon img {
  height: 17px;
  width: 17px;
}

body.floorplan-santander-theme .floorplan-login-security-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-login-security-copy strong {
  color: #24523b;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
}

body.floorplan-santander-theme .floorplan-login-security-copy small {
  color: #65736b;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

body.floorplan-santander-theme .floorplan-login-security-shield {
  flex: 0 0 18px;
  height: 18px;
  opacity: 0.82;
  width: 18px;
}

body.floorplan-santander-theme .floorplan-login-footer {
  align-items: center;
  border-top: 1px solid #ecedef;
  color: #9a9fa8;
  display: flex;
  font-size: 1.3rem;
  font-weight: 400;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
  max-width: 360px;
  padding-top: 14px;
}

@media (max-width: 1050px) {
  body.floorplan-santander-theme .floorplan-login-card {
    border-radius: 12px;
    grid-template-columns: minmax(310px, 36%) minmax(0, 64%);
  }

  body.floorplan-santander-theme .floorplan-login-brand {
    padding-left: 36px;
    padding-right: 36px;
  }

  body.floorplan-santander-theme .floorplan-login-brand-copy h2 {
    font-size: 4.3rem;
  }

  body.floorplan-santander-theme .floorplan-login-brand-copy p {
    font-size: 1.55rem;
  }

  body.floorplan-santander-theme .floorplan-login-benefits p {
    font-size: 1.45rem;
  }

  body.floorplan-santander-theme .floorplan-login-panel {
    padding-left: 48px;
    padding-right: 48px;
  }

  body.floorplan-santander-theme .floorplan-login-heading h1 {
    font-size: 3.6rem;
  }
}

/* Shared forms, tables and feedback. */
body.floorplan-santander-theme .floorplan-form-grid input,
body.floorplan-santander-theme .floorplan-form-grid select,
body.floorplan-santander-theme .floorplan-readonly-grid input,
body.floorplan-santander-theme .floorplan-readonly-grid select,
body.floorplan-santander-theme .floorplan-state-form select,
body.floorplan-santander-theme .floorplan-state-form textarea {
  border-color: var(--floorplan-santander-border-strong);
  color: var(--floorplan-santander-ink);
}

body.floorplan-santander-theme .floorplan-table-wrap {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
}

body.floorplan-santander-theme .floorplan-table {
  background: #fff;
}

body.floorplan-santander-theme .floorplan-table th,
body.floorplan-santander-theme .floorplan-table td {
  border-color: #e7e2de;
}

body.floorplan-santander-theme .floorplan-table th {
  background: #f2efed;
  border-bottom: 2px solid #d5ceca;
  color: #514a47;
  letter-spacing: 0;
}

body.floorplan-santander-theme .floorplan-table tbody tr:nth-child(even) td {
  background: #fcfbfa;
}

body.floorplan-santander-theme .floorplan-table tbody tr:hover td {
  background: #fff5f5;
}

body.floorplan-santander-theme .floorplan-document-link,
body.floorplan-santander-theme .floorplan-history-document,
body.floorplan-santander-theme .floorplan-operation-link {
  color: var(--floorplan-santander-red-dark);
  font-family: var(--bs--font-bold);
}

body.floorplan-santander-theme .floorplan-document-link:hover,
body.floorplan-santander-theme .floorplan-document-link:focus-visible,
body.floorplan-santander-theme .floorplan-history-document:hover,
body.floorplan-santander-theme .floorplan-history-document:focus-visible,
body.floorplan-santander-theme .floorplan-operation-link:hover,
body.floorplan-santander-theme .floorplan-operation-link:focus-visible {
  color: var(--floorplan-santander-red-deep);
}

body.floorplan-santander-theme .floorplan-alert {
  background: var(--floorplan-santander-warning-soft);
  border-color: #e0bd63;
  border-left: 4px solid var(--floorplan-santander-warning);
  color: #4f3b16;
}

body.floorplan-santander-theme .floorplan-alert.error {
  background: var(--floorplan-santander-soft-red);
  border-color: #e7a4a4;
  border-left-color: var(--floorplan-santander-red);
  color: #6e1212;
}

body.floorplan-santander-theme .floorplan-alert.success {
  background: var(--floorplan-santander-success-soft);
  border-color: #9bcdb0;
  border-left-color: var(--floorplan-santander-success);
  color: #145a32;
}

body.floorplan-santander-theme .bs-chip:not(.verde-10):not(.amarillo) {
  background: var(--floorplan-santander-soft-red);
  color: #7e1010;
}

body.floorplan-santander-theme .bs-chip.azul-10 {
  background: var(--floorplan-santander-soft-red);
  color: #7e1010;
}

body.floorplan-santander-theme .bs-chip.verde-10,
body.floorplan-santander-theme .floorplan-sign-state .signed,
body.floorplan-santander-theme .floorplan-document-state.ready {
  background: var(--floorplan-santander-success-soft);
  color: var(--floorplan-santander-success);
}

body.floorplan-santander-theme .floorplan-sign-dot.state-1 {
  background: var(--floorplan-santander-success);
  border-color: var(--floorplan-santander-success);
}

body.floorplan-santander-theme .bs-chip.amarillo {
  background: var(--floorplan-santander-warning-soft);
  color: var(--floorplan-santander-warning);
}

/* Operation create and detail. */
body.floorplan-santander-theme .floorplan-detail-title {
  border-bottom: 1px solid var(--floorplan-santander-border);
}

body.floorplan-santander-theme .floorplan-operation-header,
body.floorplan-santander-theme .floorplan-credit-strip {
  background: #fff;
  border-color: var(--floorplan-santander-border);
  border-top: 3px solid var(--floorplan-santander-red);
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
}

body.floorplan-santander-theme .floorplan-summary-grid,
body.floorplan-santander-theme .floorplan-credit-grid {
  background: var(--floorplan-santander-surface-soft);
  border-top: 1px solid var(--floorplan-santander-border);
}

body.floorplan-santander-theme .floorplan-summary-grid .bs-simple-data,
body.floorplan-santander-theme .floorplan-credit-grid .bs-simple-data {
  border-color: var(--floorplan-santander-border);
}

body.floorplan-santander-theme .floorplan-detail-section {
  background: #fff;
  border-color: var(--floorplan-santander-border);
  box-shadow: 0 6px 18px rgba(45, 38, 35, 0.04);
}

body.floorplan-santander-theme .floorplan-detail-section > h3,
body.floorplan-santander-theme .floorplan-section-heading h3 {
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .floorplan-tabs {
  border-color: var(--floorplan-santander-border);
}

body.floorplan-santander-theme .floorplan-tabs a {
  color: var(--floorplan-santander-muted);
}

body.floorplan-santander-theme .floorplan-tabs a:hover,
body.floorplan-santander-theme .floorplan-tabs a:focus-visible {
  background: var(--floorplan-santander-soft-red);
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .floorplan-tabs a.active {
  background: transparent;
  border-color: var(--floorplan-santander-red);
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .floorplan-state-form {
  background: var(--floorplan-santander-surface-soft);
  border: 1px solid var(--floorplan-santander-border);
}

body.floorplan-santander-theme .floorplan-create-status {
  color: var(--floorplan-santander-red-dark);
}

/* Representative */
body.floorplan-santander-theme .floorplan-representative-header {
  background: #fff;
  border-bottom: 1px solid var(--floorplan-santander-border);
  border-top: 3px solid var(--floorplan-santander-red);
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
  margin-top: 12px;
  padding: 18px 22px;
}

body.floorplan-santander-theme .floorplan-representative-selector {
  background: var(--floorplan-santander-surface-soft);
  border-color: var(--floorplan-santander-border);
}

body.floorplan-santander-theme .floorplan-representative-selector .preface {
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .floorplan-empty-state {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  color: var(--floorplan-santander-muted);
}

body.floorplan-santander-theme .field-validation-error,
body.floorplan-santander-theme .validation-summary-errors {
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .floorplan-document-viewer {
  border-color: var(--floorplan-santander-border);
  border-top: 4px solid var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-document-viewer > header {
  background: var(--floorplan-santander-surface-soft);
  border-color: var(--floorplan-santander-border);
}

body.floorplan-santander-theme .floorplan-document-viewer > header h2,
body.floorplan-santander-theme .floorplan-document-viewer-close:hover,
body.floorplan-santander-theme .floorplan-document-viewer-close:focus-visible {
  color: var(--floorplan-santander-red-dark);
}

@media (max-width: 768px) {
  body.floorplan-santander-theme .floorplan-login-page {
    align-items: center;
    padding: 20px 12px;
  }

  body.floorplan-santander-theme .floorplan-login-container {
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-login-card {
    box-shadow: 0 10px 28px rgba(45, 38, 35, 0.10);
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  body.floorplan-santander-theme .floorplan-login-brand {
    min-height: 142px;
    padding: 26px 24px;
  }

  body.floorplan-santander-theme .floorplan-login-brand > img:not(.floorplan-login-blueprint) {
    height: 32px;
    width: 132px;
  }

  body.floorplan-santander-theme .floorplan-login-brand-copy {
    margin-top: 24px;
  }

  body.floorplan-santander-theme .floorplan-login-brand-copy h2 {
    font-size: 3rem;
    margin: 0;
  }

  body.floorplan-santander-theme .floorplan-login-brand-copy p,
  body.floorplan-santander-theme .floorplan-login-benefits,
  body.floorplan-santander-theme .floorplan-login-blueprint {
    display: none;
  }

  body.floorplan-santander-theme .floorplan-login-lines {
    height: 62%;
    left: 34%;
  }

  body.floorplan-santander-theme .floorplan-login-panel {
    padding: 34px 24px 30px;
  }

  body.floorplan-santander-theme .floorplan-login-heading {
    padding: 0;
  }

  body.floorplan-santander-theme .floorplan-login-heading h1 {
    font-size: 3.2rem;
  }

  body.floorplan-santander-theme .floorplan-login-heading p {
    font-size: 1.6rem;
  }

  body.floorplan-santander-theme .floorplan-login-form {
    gap: 22px;
    margin-top: 30px;
  }

  body.floorplan-santander-theme .floorplan-login-form .form-control {
    font-size: 1.55rem;
    height: 54px;
    padding-left: 54px;
  }

  body.floorplan-santander-theme .floorplan-login-input > img {
    height: 24px;
    left: 16px;
    top: 15px;
    width: 24px;
  }

  body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password {
    height: 52px;
    width: 50px;
  }

  body.floorplan-santander-theme .floorplan-login-form .bs-btn-form.password.active::after {
    left: 13px;
    top: 25px;
  }

  body.floorplan-santander-theme .floorplan-login-actions {
    gap: 18px;
    margin-top: 0;
  }

  body.floorplan-santander-theme .floorplan-login-actions .bs-btn-primary {
    min-height: 56px;
  }

  body.floorplan-santander-theme .floorplan-login-footer {
    margin-top: 30px;
    padding-top: 22px;
  }

  body.floorplan-santander-theme .floorplan-detail-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.floorplan-santander-theme .floorplan-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  body.floorplan-santander-theme .floorplan-tabs a {
    flex: 0 0 auto;
    padding-left: 14px;
    padding-right: 14px;
  }

  body.floorplan-santander-theme .floorplan-operation-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body.floorplan-santander-theme .floorplan-operation-actions .bs-btn {
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
  }
}

/* Professional navigation drawer. */
body.floorplan-santander-theme.floorplan-menu-open {
  overflow: hidden;
}

body.floorplan-santander-theme .bs-menu-module.lateral {
  --floorplan-menu-border: #ecedef;
  --floorplan-menu-border-strong: #e4e4e7;
  --floorplan-menu-red: #e30613;
  --floorplan-menu-red-soft: #fff1f2;
  background: #fff;
  border: 0;
  border-right: 1px solid var(--floorplan-menu-border);
  border-radius: 0;
  box-shadow: 8px 0 30px rgba(15, 23, 42, 0.10);
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 310px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  transition: opacity 160ms ease, transform 220ms ease, visibility 220ms;
  visibility: hidden;
  width: min(310px, 90vw);
}

body.floorplan-santander-theme .bs-menu-module.lateral.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

body.floorplan-santander-theme .floorplan-menu-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--floorplan-menu-border);
  box-sizing: border-box;
  display: flex;
  flex: 0 0 76px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 24px;
}

body.floorplan-santander-theme .floorplan-menu-brand {
  align-items: center;
  color: #202124;
  display: inline-flex;
  gap: 0;
  min-width: 0;
  text-decoration: none;
}

body.floorplan-santander-theme .floorplan-menu-brand-logo {
  align-items: center;
  display: flex;
  flex: 0 0 90px;
  height: 30px;
  justify-content: center;
  overflow: hidden;
  width: 90px;
}

body.floorplan-santander-theme .floorplan-menu-brand-logo img {
  display: block;
  flex: 0 0 auto;
  height: 45px;
  max-width: none;
  object-fit: fill;
  width: 90px;
}

body.floorplan-santander-theme .floorplan-menu-separator {
  background: #d8d3cf;
  flex: 0 0 2px;
  height: 28px;
  margin: 0 12px;
  width: 2px;
}

body.floorplan-santander-theme .floorplan-menu-product {
  color: #202124;
  font-family: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
  padding-bottom: 7px;
  position: relative;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-menu-product::after {
  background: var(--floorplan-menu-red);
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 22px;
}

body.floorplan-santander-theme .floorplan-menu-brand:hover .floorplan-menu-product {
  color: var(--floorplan-menu-red);
}

body.floorplan-santander-theme .floorplan-menu-brand:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--floorplan-menu-red);
  outline-offset: 4px;
}

body.floorplan-santander-theme .bs-menu-module.lateral button.close[data-menu-close] {
  align-items: center;
  background: #fff;
  background-image: none;
  border: 1px solid var(--floorplan-menu-border-strong);
  border-radius: 50%;
  color: #71717a;
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  width: 38px;
}

body.floorplan-santander-theme .bs-menu-module.lateral button.close[data-menu-close]::before {
  content: "\00d7";
  font-family: Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  margin-top: -2px;
}

body.floorplan-santander-theme .bs-menu-module.lateral button.close[data-menu-close]:hover,
body.floorplan-santander-theme .bs-menu-module.lateral button.close[data-menu-close]:focus-visible {
  background: var(--floorplan-menu-red-soft);
  border-color: #fecaca;
  color: var(--floorplan-menu-red);
}

body.floorplan-santander-theme .floorplan-menu-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 14px;
}

body.floorplan-santander-theme .floorplan-menu-body > ul.menu,
body.floorplan-santander-theme .floorplan-menu-body > ul.menu > li {
  border: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.floorplan-santander-theme .floorplan-menu-body > ul.menu {
  width: 100%;
}

body.floorplan-santander-theme .floorplan-menu-entry {
  margin-top: 8px !important;
}

body.floorplan-santander-theme .floorplan-menu-direct-link {
  align-items: center;
  border-radius: 8px;
  box-sizing: border-box;
  color: #3f3f46;
  display: flex;
  font-family: var(--bs--font-regular);
  font-size: 1.4rem;
  font-weight: 500;
  gap: 12px;
  height: 48px;
  padding: 0 12px;
  position: relative;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-menu-direct-link figure {
  display: grid;
  flex: 0 0 18px;
  height: 18px;
  margin: 0;
  place-items: center;
  width: 18px;
}

body.floorplan-santander-theme .floorplan-menu-direct-link figure img {
  display: block;
  filter: grayscale(100%);
  height: 18px;
  object-fit: contain;
  width: 18px;
}

body.floorplan-santander-theme .floorplan-menu-direct-link:hover,
body.floorplan-santander-theme .floorplan-menu-direct-link:focus-visible {
  background: #f7f7f8;
  color: #18181b;
}

body.floorplan-santander-theme .floorplan-menu-direct-link:focus-visible {
  outline: 2px solid var(--floorplan-menu-red);
  outline-offset: 2px;
}

body.floorplan-santander-theme .floorplan-menu-direct-link.active {
  background: var(--floorplan-menu-red-soft);
  color: var(--floorplan-menu-red);
}

body.floorplan-santander-theme .floorplan-menu-direct-link.active::before {
  background: var(--floorplan-menu-red);
  border-radius: 999px;
  content: "";
  height: 22px;
  left: 7px;
  position: absolute;
  top: 13px;
  width: 3px;
}

body.floorplan-santander-theme .floorplan-menu-direct-link.active figure img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(7475%) hue-rotate(358deg) brightness(94%) contrast(114%);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > button.parent {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-sizing: border-box;
  color: #3f3f46;
  cursor: pointer;
  display: flex;
  font-family: var(--bs--font-regular);
  font-size: 1.4rem;
  font-weight: 500;
  gap: 12px;
  height: 48px;
  line-height: 1;
  padding: 0 12px;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
  width: 100%;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > button.parent.is-open {
  color: var(--floorplan-menu-red);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > button.parent:hover {
  background: #f7f7f8;
  color: #18181b;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > button.parent:focus-visible {
  outline: 2px solid var(--floorplan-menu-red);
  outline-offset: 2px;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > button.parent figure {
  display: grid;
  flex: 0 0 18px;
  height: 18px;
  margin: 0;
  place-items: center;
  width: 18px;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > button.parent figure img {
  display: block;
  filter: grayscale(100%);
  height: 18px;
  object-fit: contain;
  transition: filter 150ms ease;
  width: 18px;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > button.parent.is-open figure img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(7475%) hue-rotate(358deg) brightness(94%) contrast(114%);
}

body.floorplan-santander-theme .floorplan-menu-chevron {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  height: 7px;
  margin-left: auto;
  margin-right: 3px;
  transform: rotate(45deg);
  transition: transform 200ms ease;
  width: 7px;
}

body.floorplan-santander-theme .floorplan-menu-group > button.parent.is-open .floorplan-menu-chevron {
  transform: rotate(225deg);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child {
  background: transparent;
  border-bottom: 0;
  border-left: 1px solid var(--floorplan-menu-border);
  box-sizing: border-box;
  display: block !important;
  margin: 0 0 0 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 0 0 12px;
  transition: margin-top 200ms ease, max-height 200ms ease, opacity 160ms ease;
  width: calc(100% - 16px);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child.is-open {
  margin-top: 4px;
  max-height: 440px;
  opacity: 1;
  overflow-y: auto;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child > li + li {
  margin-top: 1px;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link {
  border-radius: 7px;
  color: #52525b;
  font-size: 1.4rem;
  font-weight: 400;
  height: 44px;
  line-height: 1.4;
  padding: 0 14px 0 18px;
  position: relative;
  transition: background-color 150ms ease, color 150ms ease;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link:hover,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link:focus-visible {
  background: #f8f8f9;
  color: #18181b;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link.active {
  background: var(--floorplan-menu-red-soft);
  color: var(--floorplan-menu-red);
  font-family: var(--bs--font-regular);
  font-weight: 500;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child a.link.active::before {
  background: var(--floorplan-menu-red);
  border-radius: 999px;
  content: "";
  display: block;
  height: 22px;
  left: 7px;
  margin: 0;
  position: absolute;
  top: 11px;
  width: 3px;
}

body.floorplan-santander-theme .floorplan-menu-footer {
  background: #fff;
  border-top: 1px solid var(--floorplan-menu-border);
  flex: 0 0 auto;
  padding: 14px;
}

body.floorplan-santander-theme .floorplan-menu-user {
  align-items: center;
  display: flex;
  gap: 11px;
  min-height: 48px;
  padding: 0 10px 10px;
}

body.floorplan-santander-theme .floorplan-menu-user figure {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  margin: 0;
  place-items: center;
  width: 34px;
}

body.floorplan-santander-theme .floorplan-menu-user figure img {
  display: block;
  height: 30px;
  object-fit: contain;
  width: 30px;
}

body.floorplan-santander-theme .floorplan-menu-user > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-menu-user strong,
body.floorplan-santander-theme .floorplan-menu-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-menu-user strong {
  color: #27272a;
  font-family: var(--bs--font-regular);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
}

body.floorplan-santander-theme .floorplan-menu-user span {
  color: #71717a;
  font-size: 1.2rem;
  line-height: 1.4;
}

body.floorplan-santander-theme .floorplan-menu-logout {
  border-top: 1px solid var(--floorplan-menu-border);
  padding-top: 10px;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-button {
  border-radius: 8px;
  color: #52525b;
  font-family: var(--bs--font-regular);
  font-size: 1.4rem;
  font-weight: 400;
  min-height: 44px;
  padding: 0 12px;
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-button:hover,
body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-button:focus-visible {
  background: var(--floorplan-menu-red-soft);
  color: var(--floorplan-menu-red);
}

body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-button figure {
  filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(7475%) hue-rotate(358deg) brightness(94%) contrast(114%);
  margin: 12px 12px 12px 0;
}

body.floorplan-santander-theme .floorplan-menu-backdrop {
  appearance: none;
  background: rgba(15, 23, 42, 0.35);
  border: 0;
  cursor: default;
  display: block;
  inset: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease, visibility 180ms;
  visibility: hidden;
  width: 100%;
  z-index: 1090;
}

body.floorplan-santander-theme .floorplan-menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

@media (max-width: 480px) {
  body.floorplan-santander-theme .bs-menu-module.lateral {
    max-width: 320px;
    width: min(320px, 90vw);
  }

  body.floorplan-santander-theme .floorplan-menu-header {
    padding-left: 20px;
    padding-right: 16px;
  }

  body.floorplan-santander-theme .floorplan-menu-brand-logo {
    flex-basis: 82px;
    width: 82px;
  }

  body.floorplan-santander-theme .floorplan-menu-brand-logo img {
    height: 41px;
    width: 82px;
  }

  body.floorplan-santander-theme .floorplan-menu-separator {
    margin-left: 10px;
    margin-right: 10px;
  }

  body.floorplan-santander-theme .floorplan-menu-product {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.floorplan-santander-theme .bs-menu-module.lateral,
  body.floorplan-santander-theme .floorplan-menu-backdrop,
  body.floorplan-santander-theme .floorplan-menu-chevron,
  body.floorplan-santander-theme .bs-menu-module.lateral .floorplan-menu-group > ul.child {
    transition: none;
  }
}

/* Authenticated account summary */
body.floorplan-santander-theme .bs-header.privado .floorplan-account {
  border-left: 1px solid var(--floorplan-santander-border);
  margin-left: 16px;
  padding-left: 16px;
  position: relative;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-toggle {
  align-items: center;
  border-radius: 6px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  min-height: 52px;
  padding: 3px 6px 3px 12px;
  text-decoration: none;
  transition: background-color 150ms ease;
  width: auto;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-toggle:hover {
  background: var(--floorplan-santander-surface-soft);
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-toggle:focus-visible {
  background: var(--floorplan-santander-surface-soft);
  outline: 2px solid var(--floorplan-santander-red);
  outline-offset: 2px;
}

body.floorplan-santander-theme .bs-header.privado .actions .floorplan-account > .floorplan-account-toggle:hover > .floorplan-account-copy,
body.floorplan-santander-theme .bs-header.privado .actions .floorplan-account > .floorplan-account-toggle:hover > .floorplan-account-avatar,
body.floorplan-santander-theme .bs-header.privado .actions .floorplan-account > .floorplan-account-toggle:focus-visible > .floorplan-account-copy,
body.floorplan-santander-theme .bs-header.privado .actions .floorplan-account > .floorplan-account-toggle:focus-visible > .floorplan-account-avatar {
  opacity: 1;
  transform: none;
}

body.floorplan-santander-theme .bs-header.privado .actions .action.menu.floorplan-account:hover > .floorplan-user-menu:not(.active) {
  display: none;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account > .floorplan-user-menu {
  border-radius: 6px;
  box-sizing: border-box;
  min-width: 184px;
  padding: 6px;
  position: absolute;
  right: 6px;
  top: calc(100% + 7px);
  z-index: 1000;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account > .floorplan-user-menu.active {
  display: block;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account > .floorplan-user-menu ul,
body.floorplan-santander-theme .bs-header.privado .floorplan-account > .floorplan-user-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account .floorplan-user-logout {
  border-radius: 4px;
  box-sizing: border-box;
  min-height: 38px;
  padding: 7px 10px;
  width: 100%;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-copy {
  display: grid;
  gap: 1px;
  min-width: 156px;
  text-align: right;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-greeting {
  color: var(--floorplan-santander-muted);
  font-size: 1.1rem;
  line-height: 1.2;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-name {
  color: var(--floorplan-santander-ink);
  display: block;
  font-family: var(--bs--font-regular);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-status {
  align-items: center;
  color: #557064;
  display: inline-flex;
  font-size: 1.05rem;
  gap: 5px;
  justify-content: flex-end;
  line-height: 1.2;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-status > span {
  background: #218554;
  border-radius: 50%;
  display: inline-block;
  height: 6px;
  width: 6px;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-clock {
  border-left: 1px solid var(--floorplan-santander-border);
  display: flex;
  flex-direction: column;
  font-style: normal;
  min-width: 112px;
  padding-left: 14px;
  text-align: left;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-clock > span {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
  line-height: 1.2;
  text-transform: capitalize;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-clock > strong {
  color: var(--floorplan-santander-ink);
  font-family: var(--bs--font-regular);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-avatar {
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  margin: 0;
  place-items: center;
  width: 36px;
}

body.floorplan-santander-theme .bs-header.privado .floorplan-account-avatar img {
  display: block;
  height: 32px;
  object-fit: contain;
  width: 32px;
}

@media (max-width: 760px) {
  body.floorplan-santander-theme .bs-header.privado .floorplan-account {
    margin-left: 8px;
    padding-left: 8px;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-toggle {
    gap: 9px;
    padding-left: 6px;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-copy {
    display: grid;
    min-width: 0;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-greeting,
  body.floorplan-santander-theme .bs-header.privado .floorplan-account-status {
    display: none;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-name {
    max-width: 145px;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-clock {
    min-width: 94px;
    padding-left: 9px;
  }
}

@media (max-width: 520px) {
  body.floorplan-santander-theme .bs-header.privado .floorplan-account-name {
    max-width: 94px;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-clock {
    min-width: auto;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-clock > span {
    display: none;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-avatar {
    flex-basis: 32px;
    height: 32px;
    width: 32px;
  }

  body.floorplan-santander-theme .bs-header.privado .floorplan-account-avatar img {
    height: 28px;
    width: 28px;
  }
}

/* Authenticated welcome */
body.floorplan-santander-theme .floorplan-welcome-page {
  align-items: flex-start;
  background: var(--floorplan-santander-surface);
  box-sizing: border-box;
  display: flex;
  min-height: calc(100vh - 164px);
  padding: 56px 32px;
}

body.floorplan-santander-theme .floorplan-welcome-inner {
  display: block;
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-welcome-summary {
  align-items: center;
  display: flex;
  gap: 56px;
  justify-content: space-between;
}

body.floorplan-santander-theme .floorplan-welcome-copy {
  border-left: 4px solid var(--floorplan-santander-red);
  box-sizing: border-box;
  max-width: 760px;
  padding: 8px 0 8px 32px;
}

body.floorplan-santander-theme .floorplan-welcome-eyebrow {
  color: var(--floorplan-santander-red-dark);
  display: block;
  font-family: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-welcome-copy h1 {
  color: var(--floorplan-santander-ink);
  font-family: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3rem, 4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-welcome-copy h1 strong {
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-welcome-copy > p {
  color: var(--floorplan-santander-muted);
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 640px;
}

body.floorplan-santander-theme .floorplan-welcome-context {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 42px;
  margin: 32px 0 0;
}

body.floorplan-santander-theme .floorplan-welcome-context > div {
  min-width: 180px;
}

body.floorplan-santander-theme .floorplan-welcome-context dt {
  color: var(--floorplan-santander-muted);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 4px;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-welcome-context dd {
  color: var(--floorplan-santander-ink);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-welcome-status {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  min-width: 230px;
  padding: 18px 20px;
}

body.floorplan-santander-theme .floorplan-welcome-status-icon {
  align-items: center;
  background: #edf7f1;
  border-radius: 50%;
  display: flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

body.floorplan-santander-theme .floorplan-welcome-status-icon img {
  filter: brightness(0) saturate(100%) invert(40%) sepia(20%) saturate(1225%) hue-rotate(99deg) brightness(91%) contrast(91%);
  height: 22px;
  object-fit: contain;
  width: 22px;
}

body.floorplan-santander-theme .floorplan-welcome-status > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body.floorplan-santander-theme .floorplan-welcome-status small {
  color: var(--floorplan-santander-muted);
  font-size: 1.1rem;
  line-height: 1.2;
}

body.floorplan-santander-theme .floorplan-welcome-status strong {
  color: #276749;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

body.floorplan-santander-theme .floorplan-welcome-access {
  border-top: 1px solid var(--floorplan-santander-border);
  margin-top: 52px;
  padding-top: 32px;
}

body.floorplan-santander-theme .floorplan-welcome-access > header {
  margin-bottom: 20px;
}

body.floorplan-santander-theme .floorplan-welcome-access > header > span {
  color: var(--floorplan-santander-red-dark);
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-welcome-access h2 {
  color: var(--floorplan-santander-ink);
  font-family: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-welcome-access-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

body.floorplan-santander-theme .floorplan-welcome-access-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 7px;
  box-sizing: border-box;
  color: var(--floorplan-santander-ink);
  display: grid;
  gap: 16px;
  grid-template-columns: 46px minmax(0, 1fr) 12px;
  min-height: 116px;
  padding: 20px;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.floorplan-santander-theme .floorplan-welcome-access-card:hover {
  border-color: var(--floorplan-santander-red);
  box-shadow: 0 8px 22px rgba(45, 38, 35, 0.09);
  color: var(--floorplan-santander-ink);
}

body.floorplan-santander-theme .floorplan-welcome-access-card:focus-visible {
  border-color: var(--floorplan-santander-red);
  outline: 2px solid var(--floorplan-santander-red);
  outline-offset: 3px;
}

body.floorplan-santander-theme .floorplan-welcome-access-icon {
  align-items: center;
  background: var(--floorplan-santander-soft-red);
  border-radius: 6px;
  display: flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

body.floorplan-santander-theme .floorplan-welcome-access-icon img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(7475%) hue-rotate(358deg) brightness(94%) contrast(114%);
  height: 23px;
  object-fit: contain;
  width: 23px;
}

body.floorplan-santander-theme .floorplan-welcome-access-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-welcome-access-copy strong {
  color: var(--floorplan-santander-ink);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.3;
}

body.floorplan-santander-theme .floorplan-welcome-access-copy small {
  color: var(--floorplan-santander-muted);
  font-size: 1.2rem;
  line-height: 1.45;
  margin-top: 5px;
}

body.floorplan-santander-theme .floorplan-welcome-access-chevron {
  border-right: 2px solid var(--floorplan-santander-red);
  border-top: 2px solid var(--floorplan-santander-red);
  height: 7px;
  transform: rotate(45deg);
  width: 7px;
}

@media (max-width: 800px) {
  body.floorplan-santander-theme .floorplan-welcome-page {
    align-items: flex-start;
    min-height: 0;
    padding: 48px 24px;
  }

  body.floorplan-santander-theme .floorplan-welcome-summary {
    align-items: stretch;
    flex-direction: column;
    gap: 34px;
  }

  body.floorplan-santander-theme .floorplan-welcome-status {
    min-width: 0;
    width: min(100%, 320px);
  }

  body.floorplan-santander-theme .floorplan-welcome-access {
    margin-top: 40px;
  }
}

@media (max-width: 520px) {
  body.floorplan-santander-theme .floorplan-welcome-page {
    padding: 36px 16px;
  }

  body.floorplan-santander-theme .floorplan-welcome-copy {
    padding-left: 20px;
  }

  body.floorplan-santander-theme .floorplan-welcome-copy h1 {
    font-size: 2.8rem;
  }

  body.floorplan-santander-theme .floorplan-welcome-context {
    flex-direction: column;
    gap: 18px;
  }

  body.floorplan-santander-theme .floorplan-welcome-access-grid {
    grid-template-columns: 1fr;
  }

  body.floorplan-santander-theme .floorplan-welcome-access-card {
    min-height: 108px;
    padding: 18px;
  }
}

/* Shared authenticated footer */
body.floorplan-authenticated-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.floorplan-authenticated-shell .floorplan-page-content {
  flex: 1 0 auto;
  width: 100%;
}

body.floorplan-authenticated-shell .floorplan-testing-banner {
  align-items: center;
  background: #fff4d6;
  border-bottom: 1px solid #d9a326;
  border-top: 1px solid #d9a326;
  box-sizing: border-box;
  color: #5f4300;
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 38px;
  padding: 8px 20px;
  text-align: center;
  width: 100%;
}

body.floorplan-authenticated-shell .floorplan-testing-banner > span {
  background: #d9a326;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

body.floorplan-authenticated-shell .floorplan-testing-banner strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

body.floorplan-authenticated-shell .floorplan-testing-banner small {
  color: #715817;
  font-size: 1.1rem;
}

@media (max-width: 560px) {
  body.floorplan-authenticated-shell .floorplan-testing-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  body.floorplan-authenticated-shell .floorplan-testing-banner small {
    flex-basis: 100%;
  }
}

body.floorplan-authenticated-shell .floorplan-site-footer {
  background: var(--floorplan-santander-surface-soft);
  border-top: 1px solid var(--floorplan-santander-border);
  box-sizing: border-box;
  color: var(--floorplan-santander-muted);
  flex: 0 0 auto;
  margin-top: 32px;
  min-height: 52px;
  width: 100%;
}

body.floorplan-authenticated-shell .floorplan-site-footer-inner {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  min-height: 52px;
  padding: 12px 24px;
  width: min(100%, 1440px);
}

body.floorplan-authenticated-shell .floorplan-site-footer span {
  align-items: center;
  display: inline-flex;
  font-size: 1.2rem;
  gap: 9px;
  line-height: 1.4;
  text-align: center;
}

body.floorplan-authenticated-shell .floorplan-site-footer span::before {
  background: var(--floorplan-santander-red);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 2px;
  width: 18px;
}

@media (max-width: 520px) {
  body.floorplan-authenticated-shell .floorplan-site-footer {
    margin-top: 24px;
  }

  body.floorplan-authenticated-shell .floorplan-site-footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Shared compact server-processing indicator */
body.floorplan-authenticated-shell .floorplan-process-strip[hidden] {
  display: none;
}

body.floorplan-authenticated-shell .floorplan-process-strip {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(36, 30, 28, 0.14);
  box-sizing: border-box;
  color: var(--floorplan-santander-ink);
  left: 50%;
  min-height: 70px;
  overflow: hidden;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  z-index: 1100;
}

body.floorplan-authenticated-shell .floorplan-process-track {
  background: #f4e5e4;
  bottom: 0;
  height: 4px;
  left: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

body.floorplan-authenticated-shell .floorplan-process-track span {
  animation: floorplan-process-indeterminate 1.35s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  background: var(--floorplan-santander-red);
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  transform: translateX(-120%);
  width: 42%;
}

body.floorplan-authenticated-shell .floorplan-process-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  min-height: 66px;
  padding: 13px 20px 15px;
}

body.floorplan-authenticated-shell .floorplan-process-copy strong {
  color: var(--floorplan-santander-ink);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.35;
}

body.floorplan-authenticated-shell .floorplan-process-copy span {
  color: var(--floorplan-santander-muted);
  font-size: 1.15rem;
  line-height: 1.35;
}

body.floorplan-processing button[type="submit"]:disabled,
body.floorplan-processing input[type="submit"]:disabled {
  cursor: wait;
}

@keyframes floorplan-process-indeterminate {
  0% {
    transform: translateX(-120%);
  }
  55% {
    transform: translateX(115%);
  }
  100% {
    transform: translateX(245%);
  }
}

@media (max-width: 640px) {
  body.floorplan-authenticated-shell .floorplan-process-strip {
    width: min(380px, calc(100vw - 24px));
  }

  body.floorplan-authenticated-shell .floorplan-process-copy {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.floorplan-authenticated-shell .floorplan-process-track span {
    animation-duration: 2.6s;
  }
}

/* Operation detail: scoped composition and visual hierarchy. */
body.floorplan-santander-theme .floorplan-operation-detail-page {
  padding-bottom: 28px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-title {
  align-items: flex-end;
  border-bottom: 0;
  min-height: 0;
  padding: 8px 0 16px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-heading > span {
  color: var(--floorplan-santander-red-dark);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-heading h2 {
  color: var(--floorplan-santander-ink);
  font-size: 2.6rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .bs-btn-back {
  min-height: 40px;
  min-width: 112px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-header,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-strip {
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(45, 38, 35, 0.055);
  overflow: hidden;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-header article {
  padding: 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-header article > .botonera {
  min-height: 68px;
  padding: 16px 22px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-header h4 {
  color: var(--floorplan-santander-red-dark);
  font-size: 1.8rem;
  line-height: 1.3;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-status-button {
  background: #fff;
  border-color: var(--floorplan-santander-red);
  color: var(--floorplan-santander-red-dark);
  font-size: 1.2rem;
  font-weight: 650;
  min-height: 32px;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid {
  margin: 0;
  padding: 20px 22px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-strip {
  padding: 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid {
  margin: 0;
  padding: 18px 22px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid .bs-simple-data {
  min-height: 52px;
  padding: 0 18px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data:first-child,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid .bs-simple-data:first-child {
  padding-left: 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid h3,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid p {
  color: var(--floorplan-santander-muted);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 6px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data > p {
  color: var(--floorplan-santander-ink);
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tabs {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  gap: 2px;
  margin: 6px 0 24px;
  padding: 0 8px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tabs a {
  font-size: 1.35rem;
  font-weight: 550;
  padding: 14px 18px 12px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tabs a:hover,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tabs a:focus-visible {
  background: #fff7f7;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-columns {
  align-items: start;
  gap: 22px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-section {
  border-radius: 6px;
  border-top: 3px solid var(--floorplan-santander-red);
  box-shadow: 0 8px 22px rgba(45, 38, 35, 0.045);
  overflow: hidden;
  padding: 0 22px 24px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-section > h3,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-section-heading h3 {
  background: transparent;
  color: var(--floorplan-santander-ink);
  display: block;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
  padding: 15px 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-section > h3 {
  border-bottom: 1px solid var(--floorplan-santander-border);
  margin-bottom: 20px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-section-heading {
  align-items: center;
  border-bottom: 1px solid var(--floorplan-santander-border);
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  min-height: 58px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-section-heading h3 {
  color: var(--floorplan-santander-ink);
  font-size: 1.65rem;
  font-weight: 650;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-cav-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--floorplan-petrol);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 650;
  gap: 7px;
  min-height: 36px;
  padding: 0 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-cav-link img {
  display: none;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-cav-link::before {
  background: currentColor;
  content: "";
  height: 18px;
  -webkit-mask: url("../assets/img/svg/icon-copy.svg") center / contain no-repeat;
  mask: url("../assets/img/svg/icon-copy.svg") center / contain no-repeat;
  width: 18px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-cav-link:hover,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-cav-link:focus-visible {
  color: var(--floorplan-petrol-dark);
}

body.floorplan-santander-theme .floorplan-operation-detail-page .bs-chip.verde-10,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-sign-state .signed {
  background: var(--floorplan-petrol-soft);
  color: var(--floorplan-petrol);
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-sign-dot.state-1 {
  background: var(--floorplan-petrol);
  border-color: var(--floorplan-petrol);
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-sign-state {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  min-width: 150px;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-sign-state .pending {
  color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-sign-state .partial {
  color: #c88900;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-sign-state .signed {
  color: var(--floorplan-santander-success);
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-sign-state .floorplan-fingerprint-state {
  flex: 0 0 22px;
  height: 22px;
  width: 22px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-sign-state .floorplan-sign-state-label {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-state {
  align-items: center;
  background: transparent;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  margin-top: 0;
  width: 30px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-state::before {
  background: currentColor;
  content: "";
  height: 30px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 30px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-state.ready {
  background: transparent;
  color: var(--floorplan-santander-success);
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-state.ready::before {
  -webkit-mask-image: url("../assets/img/svg/icon-ui-documento-check.svg");
  mask-image: url("../assets/img/svg/icon-ui-documento-check.svg");
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-state.pending {
  background: transparent;
  color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-document-state.pending::before {
  -webkit-mask-image: url("../assets/img/svg/icon-ui-documento-nok.svg");
  mask-image: url("../assets/img/svg/icon-ui-documento-nok.svg");
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid {
  gap: 17px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid label.wide {
  grid-column: 1 / -1;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid label span {
  color: var(--floorplan-santander-ink);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid input,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid select {
  background: #fff;
  border-color: #c9c4c1;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.35rem;
  height: 42px;
  padding-left: 12px;
  padding-right: 12px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid input[readonly] {
  background: var(--floorplan-santander-surface-soft);
  color: #5c5652;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid input::placeholder {
  color: #8b8581;
  opacity: 1;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid input:focus-visible,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid select:focus-visible,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-state-form textarea:focus-visible {
  border-color: var(--floorplan-santander-red);
  outline: 2px solid rgba(236, 0, 0, 0.16);
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-form {
  display: block;
  margin-top: 0;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-actions {
  align-items: center;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin: 0 0 18px;
  padding: 0;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-actions .bs-btn {
  border-radius: 999px;
  height: 37px;
  justify-content: center;
  min-height: 37px;
  min-width: 130px;
  padding: 0 18px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  width: auto;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-actions .bs-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(236, 0, 0, 0.2);
  outline: 2px solid #fff;
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-actions .bs-btn:disabled {
  background: #f1eeec;
  border-color: #d8d2ce;
  color: #817a76;
  cursor: not-allowed;
  opacity: 1;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-field-help {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-top: 5px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-field-error {
  color: var(--floorplan-santander-red-dark);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-top: 4px;
}

.floorplan-required-marker,
body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-required-marker {
  color: #ec0000 !important;
  font-weight: 900 !important;
  line-height: 1;
}

.floorplan-cav-dialog {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  border-top: 4px solid var(--floorplan-santander-red);
  box-shadow: 0 18px 48px rgba(45, 38, 35, 0.18);
  color: var(--floorplan-santander-ink);
  margin: auto;
  max-width: 570px;
  padding: 0;
  width: min(92vw, 570px);
}

.floorplan-cav-dialog::backdrop {
  background: rgba(30, 27, 25, 0.52);
}

.floorplan-cav-dialog[open] {
  display: block;
}

.floorplan-cav-dialog > header {
  align-items: center;
  background: var(--floorplan-santander-surface-soft);
  border-bottom: 1px solid var(--floorplan-santander-border);
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 14px 22px;
}

.floorplan-cav-dialog > header span {
  color: var(--floorplan-santander-red-dark);
  display: block;
  font-size: 1.05rem;
  font-weight: 650;
  text-transform: uppercase;
}

.floorplan-cav-dialog > header h2 {
  font-size: 1.8rem;
  margin: 2px 0 0;
}

.floorplan-cav-dialog-body {
  display: grid;
  gap: 17px;
  padding: 22px;
}

.floorplan-cav-dialog-body > p {
  color: var(--floorplan-santander-muted);
  line-height: 1.45;
  margin: 0;
}

.floorplan-cav-dialog-body label {
  display: grid;
  gap: 6px;
}

.floorplan-cav-dialog-body label > span {
  font-size: 1.2rem;
  font-weight: 650;
}

.floorplan-cav-dialog-body input,
.floorplan-cav-dialog-body select,
.floorplan-cav-dialog-body textarea {
  background: #fff;
  border: 1px solid #c9c4c1;
  border-radius: 4px;
  box-sizing: border-box;
  font: inherit;
  min-height: 42px;
  padding: 9px 12px;
  width: 100%;
}

.floorplan-cav-dialog-body textarea {
  resize: vertical;
}

.floorplan-cav-dialog-body input:focus-visible,
.floorplan-cav-dialog-body select:focus-visible,
.floorplan-cav-dialog-body textarea:focus-visible {
  border-color: var(--floorplan-santander-red);
  outline: 2px solid rgba(236, 0, 0, 0.16);
  outline-offset: 1px;
}

.floorplan-cav-file small {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
}

.floorplan-cav-dialog > footer {
  align-items: center;
  border-top: 1px solid var(--floorplan-santander-border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 22px;
}

.floorplan-cav-dialog > footer .bs-btn {
  min-width: 126px;
  width: auto;
}

.floorplan-documents-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.floorplan-add-document-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--floorplan-petrol, #005b67);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  gap: .45rem;
  padding: .35rem .15rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floorplan-add-document-link:hover,
.floorplan-add-document-link:focus-visible {
  color: var(--floorplan-santander-red);
}

.floorplan-add-document-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.floorplan-add-document-icon {
  display: inline-block;
  height: 1rem;
  position: relative;
  transform: rotate(-45deg);
  width: 1rem;
}

.floorplan-add-document-icon::before {
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
  height: .72rem;
  left: .1rem;
  position: absolute;
  top: .08rem;
  width: .28rem;
}

.floorplan-add-document-icon::after {
  background: currentColor;
  content: "";
  height: 2px;
  position: absolute;
  right: .05rem;
  top: .43rem;
  width: .42rem;
}

.floorplan-document-upload-dialog > form {
  display: contents;
}

.floorplan-document-upload-dialog {
  max-width: 600px;
  width: min(94vw, 600px);
}

.floorplan-document-upload-dialog > header {
  padding-bottom: 16px;
  padding-top: 16px;
}

.floorplan-document-upload-dialog .floorplan-cav-dialog-body {
  gap: 18px;
  padding: 22px 24px 24px;
}

.floorplan-document-upload-intro {
  align-items: center;
  background: #f7f5f4;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 4px;
  display: flex;
  gap: 12px;
  padding: 12px 14px;
}

.floorplan-document-upload-intro p {
  color: var(--floorplan-santander-muted);
  line-height: 1.45;
  margin: 0;
}

.floorplan-document-upload-intro strong {
  color: var(--floorplan-santander-ink);
  white-space: nowrap;
}

.floorplan-document-upload-intro-icon {
  border: 2px solid var(--floorplan-petrol, #005b67);
  border-radius: 2px;
  flex: 0 0 auto;
  height: 23px;
  position: relative;
  width: 18px;
}

.floorplan-document-upload-intro-icon::after {
  background: var(--floorplan-petrol, #005b67);
  box-shadow: 0 5px 0 var(--floorplan-petrol, #005b67);
  content: "";
  height: 2px;
  left: 3px;
  position: absolute;
  top: 7px;
  width: 9px;
}

.floorplan-document-upload-dialog > form > footer {
  align-items: center;
  border-top: 1px solid var(--floorplan-santander-border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 22px;
}

.floorplan-document-upload-dialog > form > footer .bs-btn {
  min-width: 126px;
  width: auto;
}

.floorplan-document-upload-file {
  background: #fcfbfb;
  border: 1px dashed #9d9692;
  border-radius: 6px;
  cursor: pointer;
  padding: 16px;
  transition: border-color .16s ease, background-color .16s ease;
}

.floorplan-document-upload-file:hover,
.floorplan-document-upload-file:focus-within {
  background: #fffafa;
  border-color: var(--floorplan-santander-red);
}

.floorplan-document-upload-file-title {
  color: var(--floorplan-santander-ink);
  margin-bottom: 4px;
}

.floorplan-document-upload-file-prompt {
  align-items: center;
  display: flex;
  gap: 12px;
}

.floorplan-document-upload-file-prompt strong,
.floorplan-document-upload-file-prompt small {
  display: block;
}

.floorplan-document-upload-file-prompt strong {
  color: var(--floorplan-petrol, #005b67);
  font-size: 1.15rem;
}

.floorplan-document-upload-file-prompt small {
  color: var(--floorplan-santander-muted);
  margin-top: 3px;
}

.floorplan-document-upload-file-icon {
  border: 2px solid currentColor;
  border-radius: 3px;
  color: var(--floorplan-petrol, #005b67);
  height: 30px;
  position: relative;
  width: 25px;
}

.floorplan-document-upload-file-icon::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: -9px;
  top: 10px;
}

.floorplan-document-upload-file input[type="file"] {
  margin-top: 10px;
  min-height: 38px;
  padding: 6px;
}

.floorplan-document-upload-file-state {
  background: #edf6f7;
  border-left: 3px solid var(--floorplan-petrol, #005b67);
  color: var(--floorplan-santander-ink);
  font-size: 1.05rem;
  margin-top: 8px;
  overflow-wrap: anywhere;
  padding: 7px 9px;
}

.floorplan-document-upload-file-state.is-empty {
  background: #f2f0ef;
  border-left-color: #aaa29e;
  color: var(--floorplan-santander-muted);
}

.floorplan-optional-label {
  background: #edf6f7;
  border-radius: 3px;
  color: var(--floorplan-petrol, #005b67);
  font-size: .95rem;
  font-style: normal;
  font-weight: 650;
  margin-left: 5px;
  padding: 2px 6px;
  text-transform: uppercase;
}

.floorplan-document-upload-field-meta {
  align-items: center;
  color: var(--floorplan-santander-muted);
  display: flex;
  font-size: 1rem;
  font-weight: 400 !important;
  justify-content: space-between;
}

.floorplan-document-upload-field-meta small {
  font-size: inherit;
}

.floorplan-document-upload-progress {
  background: #edf6f7;
  border-left: 3px solid var(--floorplan-petrol, #005b67);
  color: var(--floorplan-santander-ink);
  display: block;
  padding: 13px 14px 14px;
}

.floorplan-document-upload-progress[hidden] {
  display: none !important;
}

.floorplan-document-upload-progress > div {
  display: grid;
  gap: 2px;
}

.floorplan-document-upload-progress small {
  color: var(--floorplan-santander-muted);
}

.floorplan-document-upload-progress-track {
  background: rgba(0, 91, 103, .14);
  border-radius: 2px;
  display: block;
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}

.floorplan-document-upload-progress-track > span {
  animation: floorplan-upload-progress 1.25s ease-in-out infinite;
  background: var(--floorplan-petrol, #005b67);
  height: 100%;
  left: -42%;
  position: absolute;
  width: 42%;
}

.floorplan-document-upload-dialog form.is-uploading {
  cursor: wait;
}

.floorplan-document-upload-dialog form.is-uploading input,
.floorplan-document-upload-dialog form.is-uploading select,
.floorplan-document-upload-dialog form.is-uploading textarea {
  opacity: .7;
}

@keyframes floorplan-upload-progress {
  0% { left: -42%; }
  100% { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .floorplan-document-upload-progress-track > span {
    animation-duration: 2.5s;
  }
}

@media (max-width: 640px) {
  .floorplan-documents-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .floorplan-document-upload-dialog .floorplan-cav-dialog-body {
    padding: 18px;
  }

  .floorplan-document-upload-dialog > form > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .floorplan-document-upload-dialog > form > footer .bs-btn {
    width: 100%;
  }
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tab-section {
  padding: 0 20px 22px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tab-section .floorplan-section-heading {
  border-bottom: 1px solid var(--floorplan-santander-border);
  margin-bottom: 18px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tab-section .floorplan-table-wrap {
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 4px;
  overflow-x: auto;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tab-section .floorplan-table {
  margin: 0;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-state-form {
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 18px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-writing-grid {
  align-items: start;
  gap: 22px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page form[data-writing-form] {
  display: block;
  margin: 0;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-operation-detail-page form[data-writing-form] > .floorplan-alert {
  box-sizing: border-box;
  margin-bottom: 20px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-template-admin-page {
  background: var(--floorplan-santander-surface, #f7f5f3);
  min-height: calc(100vh - 120px);
}

body.floorplan-santander-theme .floorplan-template-admin-card {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border, #ded8d4);
  border-left: 4px solid var(--floorplan-santander-red, #ec0000);
  border-radius: 5px;
  margin-top: 22px;
  padding: 22px;
}

body.floorplan-santander-theme .floorplan-template-assignment-form {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  margin-top: 18px;
}

body.floorplan-santander-theme .floorplan-template-assignment-form label:not(.floorplan-template-active-field) {
  display: grid;
  gap: 7px;
}

body.floorplan-santander-theme .floorplan-template-assignment-form label > span {
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-template-assignment-form input,
body.floorplan-santander-theme .floorplan-template-assignment-form select,
body.floorplan-santander-theme .floorplan-template-search input {
  background: #fff;
  border: 1px solid #c9c3bf;
  border-radius: 4px;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 11px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-template-active-field {
  align-items: center;
  display: flex;
  gap: 9px;
  min-height: 42px;
}

body.floorplan-santander-theme .floorplan-template-active-field input {
  min-height: 18px;
  width: 18px;
}

body.floorplan-santander-theme .floorplan-template-assignment-form .bs-btn {
  min-height: 42px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-template-search {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(240px, 520px) auto 1fr;
  margin: 18px 0;
}

body.floorplan-santander-theme .floorplan-template-search label {
  grid-column: 1;
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-template-search input {
  grid-column: 1;
}

body.floorplan-santander-theme .floorplan-template-search button,
body.floorplan-santander-theme .floorplan-template-row-actions button {
  background: #fff;
  border: 1px solid #cfc8c3;
  border-radius: 999px;
  cursor: pointer;
  min-height: 36px;
  padding: 7px 14px;
}

body.floorplan-santander-theme .floorplan-template-search span {
  align-self: center;
  color: var(--floorplan-santander-muted, #6c6561);
}

body.floorplan-santander-theme .floorplan-template-assignment-table {
  min-width: 1080px;
}

body.floorplan-santander-theme .floorplan-template-assignment-table td small {
  color: var(--floorplan-santander-muted, #6c6561);
  display: block;
  margin-top: 3px;
}

body.floorplan-santander-theme .floorplan-template-row-actions {
  display: flex;
  gap: 7px;
}

body.floorplan-santander-theme .floorplan-template-row-actions form {
  display: block;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-template-row-actions button.danger {
  border-color: var(--floorplan-santander-red, #ec0000);
  color: var(--floorplan-santander-red-dark, #b00000);
}

@media (max-width: 980px) {
  body.floorplan-santander-theme .floorplan-template-assignment-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.floorplan-santander-theme .floorplan-template-assignment-form,
  body.floorplan-santander-theme .floorplan-template-search {
    grid-template-columns: minmax(0, 1fr);
  }

  body.floorplan-santander-theme .floorplan-template-search label,
  body.floorplan-santander-theme .floorplan-template-search input {
    grid-column: 1;
  }
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-writing-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-field-error {
  color: var(--floorplan-santander-red-dark, #9f0000);
  font-size: 1.3rem;
  font-weight: 600;
}

body.floorplan-santander-theme .floorplan-alert.info {
  background: #eef5f6;
  border-color: #315e63;
  color: #24484d;
}

@media (max-width: 1180px) {
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 18px;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data:nth-child(3n),
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid .bs-simple-data:nth-child(4n) {
    border-right: 0;
  }
}

@media (max-width: 980px) {
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-columns,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-writing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 680px) {
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-title {
    align-items: flex-start;
    gap: 12px;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-heading h2 {
    font-size: 2.2rem;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-header article > .botonera {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 16px;
    padding-right: 16px;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid .bs-simple-data {
    border-right: 0;
    border-top: 1px solid var(--floorplan-santander-border);
    padding: 14px 8px;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data:nth-child(-n + 2),
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid .bs-simple-data:nth-child(-n + 2) {
    border-top: 0;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-detail-section,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-tab-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-actions .bs-btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid .bs-simple-data {
    border-top: 1px solid var(--floorplan-santander-border);
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-summary-grid .bs-simple-data:first-child,
  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-credit-grid .bs-simple-data:first-child {
    border-top: 0;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-readonly-grid label.wide {
    grid-column: auto;
  }

  body.floorplan-santander-theme .floorplan-operation-detail-page .floorplan-operation-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
.floorplan-representative-selector {
  color: inherit;
  font: inherit;
  text-align: left;
}

.floorplan-representative-table tbody tr.selected {
  background: #f4f8f8 !important;
  box-shadow: inset 3px 0 0 #174f57;
}

.floorplan-ecert-key-dialog {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  box-shadow: 0 18px 54px rgba(43, 37, 34, 0.18);
  color: var(--floorplan-santander-ink);
  max-width: calc(100vw - 32px);
  padding: 0;
  width: 470px;
}

.floorplan-ecert-key-dialog::backdrop {
  background: rgba(35, 42, 44, 0.48);
}

.floorplan-ecert-key-dialog > header,
.floorplan-ecert-key-dialog > footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 20px;
}

.floorplan-ecert-key-dialog > header {
  border-bottom: 1px solid var(--floorplan-santander-border);
  border-top: 3px solid var(--floorplan-santander-red);
}

.floorplan-ecert-key-dialog h2 {
  font-size: 1.65rem;
  margin: 3px 0 0;
}

.floorplan-ecert-key-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.floorplan-ecert-key-body > p {
  color: var(--floorplan-santander-muted);
  line-height: 1.45;
  margin: 0;
}

.floorplan-ecert-key-body label {
  display: grid;
  gap: 7px;
}

.floorplan-password-field {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.floorplan-password-field input {
  border: 1px solid #b9b3af;
  border-radius: 4px 0 0 4px;
  font: inherit;
  min-height: 42px;
  padding: 9px 12px;
}

.floorplan-password-field button {
  background: #fff;
  border: 1px solid #b9b3af;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  color: #174f57;
  font: inherit;
  font-weight: 650;
  padding: 0 12px;
}

.floorplan-password-field:focus-within input,
.floorplan-password-field:focus-within button {
  border-color: #174f57;
}

.floorplan-password-field input:focus {
  outline: 2px solid #174f57;
  outline-offset: 1px;
}

.floorplan-ecert-key-dialog > footer {
  border-top: 1px solid var(--floorplan-santander-border);
  justify-content: flex-end;
}

.floorplan-ecert-key-dialog > footer .bs-btn {
  min-width: 112px;
  width: auto;
}

/* Signature tracking workspace. */
body.floorplan-santander-theme .floorplan-representative-page {
  color: var(--floorplan-santander-ink);
  padding: 24px 0 40px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-header {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid var(--floorplan-santander-red);
  border-radius: 6px;
  border-top-width: 1px;
  box-shadow: 0 10px 28px rgba(45, 38, 35, 0.055);
  margin: 0;
  min-height: 0;
  padding: 22px 24px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-page-heading {
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-page-heading h1 {
  color: var(--floorplan-santander-ink);
  font-size: 2.25rem;
  font-weight: 650;
  line-height: 1.2;
  margin: 4px 0 7px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-page-heading p {
  color: var(--floorplan-santander-muted);
  font-size: 1.3rem;
  line-height: 1.45;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector {
  align-items: center;
  background: var(--floorplan-santander-surface-soft);
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 5px;
  color: var(--floorplan-santander-ink);
  cursor: pointer;
  display: grid;
  flex-basis: 430px;
  gap: 14px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 13px 16px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector:hover,
body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector:focus-visible {
  background: #fff;
  border-color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector figure {
  align-items: center;
  background: var(--floorplan-santander-soft-red);
  border-radius: 4px;
  display: flex;
  height: 52px;
  justify-content: center;
  margin: 0;
  width: 52px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector figure img {
  height: 42px;
  width: 42px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector .label {
  display: grid;
  gap: 2px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector .label strong {
  font-size: 1.4rem;
  font-weight: 650;
  line-height: 1.25;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector .preface {
  color: var(--floorplan-santander-red-dark);
  font-size: 1.05rem;
  font-weight: 650;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-access {
  color: var(--floorplan-santander-red-dark);
  font-size: 1.15rem;
  font-weight: 650;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-access::after {
  content: "\203A";
  font-size: 1.8rem;
  line-height: 0;
  margin-left: 7px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-toolbar {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid var(--floorplan-santander-red);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(45, 38, 35, 0.045);
  gap: 22px;
  margin: 0 0 14px;
  min-height: 76px;
  padding: 14px 18px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-heading h2 {
  color: var(--floorplan-santander-ink);
  font-size: 1.8rem;
  line-height: 1.25;
  margin: 2px 0 0;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-heading .floorplan-section-kicker {
  flex-basis: 100%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-signature-count {
  background: var(--floorplan-santander-soft-red);
  border: 1px solid #f4cccc;
  border-radius: 999px;
  color: var(--floorplan-santander-red-dark);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-signature-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-selection-feedback {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-batch-summary {
  align-items: center;
  color: var(--floorplan-santander-muted);
  display: flex;
  font-size: 1.05rem;
  gap: 9px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-batch-summary > span + span {
  border-left: 1px solid var(--floorplan-santander-border);
  padding-left: 9px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-batch-summary strong {
  color: var(--floorplan-santander-ink);
  font-size: 1.2rem;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-selection-feedback.ready {
  color: var(--floorplan-petrol);
  font-weight: 700;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-heading p {
  color: var(--floorplan-santander-muted);
  font-size: 1.2rem;
  margin: 4px 0 0;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-heading p strong {
  color: var(--floorplan-santander-red-dark);
  font-size: 1.35rem;
}

body.floorplan-santander-theme .floorplan-representative-page [data-sign-selected] {
  border-radius: 4px;
  min-height: 40px;
  min-width: 190px;
  padding: 0 18px;
  width: auto;
}

body.floorplan-santander-theme .floorplan-representative-page [data-sign-selected]:disabled {
  background: #e4dfdc;
  border-color: #e4dfdc;
  color: #766f6b;
  cursor: not-allowed;
  opacity: 1;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-alert {
  border-left-width: 4px;
  margin-bottom: 14px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table-wrap {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
  overflow-x: auto;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table {
  background: #fff;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table {
  min-width: 1160px;
  table-layout: fixed;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-select {
  width: 48px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-operation {
  width: 10%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-document {
  width: 11%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-current-state {
  width: 14%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-user {
  width: 11%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-date {
  width: 10%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-client {
  width: 14%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-log {
  width: 12%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-col-sign-state {
  width: 14%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table th,
body.floorplan-santander-theme .floorplan-representative-page .floorplan-table td {
  border-color: #e7e2de;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table th {
  background: #f2efed;
  border-bottom: 2px solid #d5ceca;
  color: #514a47;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  padding-bottom: 13px;
  padding-top: 13px;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  white-space: nowrap;
  z-index: 1;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table td {
  color: var(--floorplan-santander-ink);
  font-size: 1.15rem;
  line-height: 1.35;
  padding-bottom: 13px;
  padding-top: 13px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table tbody tr:nth-child(even) td {
  background: #fcfbfa;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table tbody tr:hover td,
body.floorplan-santander-theme .floorplan-representative-page .floorplan-table tbody tr.selected td {
  background: #fff5f5 !important;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table tbody tr.selected {
  box-shadow: inset 3px 0 0 var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-table a.bs-btn-link {
  color: var(--floorplan-santander-red-dark);
  font-weight: 650;
  min-width: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-signature-status,
body.floorplan-santander-theme .floorplan-representative-page .floorplan-digital-certificate {
  background: #edf4f5;
  border-radius: 3px;
  color: var(--floorplan-petrol);
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 650;
  padding: 5px 8px;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-ga-number {
  color: var(--floorplan-petrol);
  font-weight: 700;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-sign-state .pending {
  color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-sign-state .signed {
  color: var(--floorplan-santander-success);
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-sign-state {
  text-align: center;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-sign-state-content {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-fingerprint-state {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-block;
  flex: 0 0 auto;
  height: 22px;
  position: static;
  width: 22px;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-sign-state-label {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--floorplan-santander-muted);
  display: inline;
  font-size: 1.05rem;
  font-weight: 650;
  height: auto;
  position: static;
  width: auto;
}

body.floorplan-santander-theme .floorplan-representative-page .floorplan-empty-state {
  border-left: 4px solid var(--floorplan-santander-red);
  border-radius: 4px;
  margin-top: 14px;
  padding: 48px 20px;
}

@media (max-width: 900px) {
  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-header {
    align-items: stretch;
    flex-direction: column;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector {
    flex-basis: auto;
    max-width: none;
  }
}

@media (max-width: 620px) {
  body.floorplan-santander-theme .floorplan-representative-page {
    padding-top: 16px;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-header,
  body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 12px;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-selector figure {
    height: 46px;
    width: 46px;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-access {
    grid-column: 2;
  }

  body.floorplan-santander-theme .floorplan-representative-page [data-sign-selected] {
    min-width: 0;
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-signature-actions {
    align-items: stretch;
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-batch-summary {
    justify-content: space-between;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-results-heading {
    align-items: flex-start;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-table-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table {
    display: block;
    min-width: 0;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table tbody,
  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table tr,
  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table td {
    display: block;
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table tr {
    background: #fff;
    border: 1px solid var(--floorplan-santander-border);
    border-left: 3px solid var(--floorplan-santander-red);
    border-radius: 5px;
    box-shadow: 0 7px 18px rgba(45, 38, 35, 0.05);
    margin-bottom: 12px;
    overflow: hidden;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table td {
    align-items: center;
    background: #fff !important;
    border: 0;
    border-bottom: 1px solid #eee9e6;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
    min-height: 44px;
    padding: 10px 12px;
    text-align: right;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table td::before {
    color: var(--floorplan-santander-muted);
    content: attr(data-label);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table td:last-child {
    border-bottom: 0;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-representative-table .floorplan-check-column {
    text-align: right;
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-representative-page .floorplan-sign-state-content {
    justify-self: end;
    justify-content: flex-end;
  }
}

/* ADMIN: Concesionarios habilitados para Floorplan */
body.floorplan-santander-theme .floorplan-client-admin-page {
  padding: 28px 0 48px;
}

body.floorplan-santander-theme .floorplan-client-admin-header {
  align-items: flex-end;
  border-bottom: 1px solid var(--floorplan-santander-border);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 0 18px 18px;
  position: relative;
}

body.floorplan-santander-theme .floorplan-client-admin-header::before {
  background: var(--floorplan-santander-red);
  border-radius: 2px;
  bottom: 18px;
  content: "";
  left: 0;
  position: absolute;
  top: 2px;
  width: 4px;
}

body.floorplan-santander-theme .floorplan-client-admin-kicker,
body.floorplan-santander-theme .floorplan-client-admin-card-heading span {
  color: var(--floorplan-santander-red-dark);
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-client-admin-header h1 {
  color: var(--floorplan-santander-ink);
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 4px 0 5px;
}

body.floorplan-santander-theme .floorplan-client-admin-header p,
body.floorplan-santander-theme .floorplan-client-admin-card-heading p {
  color: var(--floorplan-santander-muted);
  font-size: 1.3rem;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-client-admin-summary {
  display: flex;
  gap: 28px;
  margin: 0;
  min-width: 260px;
}

body.floorplan-santander-theme .floorplan-client-admin-summary div {
  border-left: 1px solid var(--floorplan-santander-border);
  padding-left: 18px;
}

body.floorplan-santander-theme .floorplan-client-admin-summary dt {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-client-admin-summary dd {
  color: var(--floorplan-santander-ink);
  font-size: 2rem;
  font-weight: 700;
  margin: 3px 0 0;
}

body.floorplan-santander-theme .floorplan-client-admin-card {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(45, 38, 35, 0.05);
  overflow: hidden;
}

body.floorplan-santander-theme .floorplan-client-admin-card-heading {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 20px;
}

body.floorplan-santander-theme .floorplan-client-admin-card-heading h2 {
  color: var(--floorplan-santander-ink);
  font-size: 1.8rem;
  margin: 3px 0 0;
}

body.floorplan-santander-theme .floorplan-client-admin-card .floorplan-table-wrap {
  border: 0;
  border-radius: 0;
  overflow-x: auto;
}

body.floorplan-santander-theme .floorplan-client-admin-table {
  margin: 0;
  min-width: 1400px;
}

body.floorplan-santander-theme .floorplan-client-admin-table th {
  background: #f2efed;
  border-bottom: 2px solid #d5ceca;
  color: #514a47;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-client-admin-table td {
  border-color: #e7e2de;
  vertical-align: middle;
}

body.floorplan-santander-theme .floorplan-client-admin-table tbody tr:nth-child(even) td {
  background: #fcfbfa;
}

body.floorplan-santander-theme .floorplan-client-status {
  align-items: center;
  border-radius: 3px;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 650;
  gap: 7px;
  padding: 4px 8px;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-client-status span {
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

body.floorplan-santander-theme .floorplan-client-status.enabled {
  background: #e8f3f3;
  color: var(--floorplan-petrol, #005b62);
}

body.floorplan-santander-theme .floorplan-client-status.enabled span {
  background: var(--floorplan-petrol, #005b62);
}

body.floorplan-santander-theme .floorplan-client-status.disabled {
  background: #f1efed;
  color: #6d6561;
}

body.floorplan-santander-theme .floorplan-client-status.disabled span {
  background: #8a817c;
}

body.floorplan-santander-theme .floorplan-client-admin-action-column,
body.floorplan-santander-theme .floorplan-client-admin-action-cell {
  text-align: right;
}

body.floorplan-santander-theme .floorplan-client-admin-action-cell form {
  margin: 0;
}

body.floorplan-santander-theme .floorplan-client-admin-action-cell {
  min-width: 180px;
}

body.floorplan-santander-theme .floorplan-client-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 280px;
}

body.floorplan-santander-theme .floorplan-client-profile-tags span {
  background: #edf3f4;
  border: 1px solid #d5e2e4;
  border-radius: 3px;
  color: var(--floorplan-petrol, #005b62);
  font-size: 1.05rem;
  padding: 3px 7px;
}

body.floorplan-santander-theme .floorplan-client-profiles-empty {
  color: var(--floorplan-santander-muted);
  font-size: 1.1rem;
}

body.floorplan-santander-theme .floorplan-client-profile-editor {
  margin-top: 8px;
  text-align: left;
}

body.floorplan-santander-theme .floorplan-client-profile-editor summary {
  color: var(--floorplan-petrol, #005b62);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 650;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.floorplan-santander-theme .floorplan-client-profile-editor form {
  background: #faf9f8;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 4px;
  margin-top: 8px;
  padding: 12px;
}

body.floorplan-santander-theme .floorplan-client-profile-editor fieldset {
  border: 0;
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  max-height: 210px;
  overflow-y: auto;
  padding: 0;
}

body.floorplan-santander-theme .floorplan-client-profile-editor legend {
  color: var(--floorplan-santander-ink);
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 8px;
}

body.floorplan-santander-theme .floorplan-client-profile-editor label {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 1.1rem;
  gap: 7px;
  line-height: 1.3;
}

body.floorplan-santander-theme .floorplan-client-profile-editor input[type="checkbox"] {
  accent-color: var(--floorplan-santander-red);
  flex: 0 0 auto;
  margin-top: 2px;
}

body.floorplan-santander-theme .floorplan-client-profile-editor .floorplan-client-toggle {
  width: 100%;
}

body.floorplan-santander-theme .floorplan-client-code-form {
  display: grid;
  gap: 6px;
  min-width: 210px;
}

body.floorplan-santander-theme .floorplan-client-code-form input[type="text"] {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 4px;
  color: var(--floorplan-santander-ink);
  font: inherit;
  min-height: 36px;
  padding: 7px 9px;
  text-transform: uppercase;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-client-code-form input[type="text"]:focus-visible {
  border-color: var(--floorplan-petrol, #005b62);
  outline: 2px solid rgba(0, 91, 98, 0.18);
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-client-code-form small {
  color: var(--floorplan-santander-muted);
  font-size: 1rem;
}

body.floorplan-santander-theme .floorplan-client-code-form .floorplan-client-toggle {
  width: 100%;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Operation creation follows the same visual system as operation detail. */
body.floorplan-santander-theme .floorplan-operation-create-page {
  padding: 24px 0 48px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-header {
  align-items: flex-end;
  border-bottom: 1px solid var(--floorplan-santander-border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 0 16px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-kicker,
body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-section-heading span,
body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-toolbar > div:first-child > span {
  color: var(--floorplan-santander-red-dark);
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-header h1 {
  color: var(--floorplan-santander-ink);
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 3px 0 4px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-header p {
  color: var(--floorplan-santander-muted);
  font-size: 1.25rem;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-header > .bs-btn {
  border-radius: 999px;
  min-height: 38px;
  min-width: 112px;
  width: auto;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-form {
  display: block;
  margin: 0;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-toolbar {
  align-items: center;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid var(--floorplan-santander-red);
  border-radius: 6px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 15px 18px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-toolbar > div:first-child > strong {
  color: var(--floorplan-santander-ink);
  display: block;
  font-size: 1.35rem;
  margin-top: 3px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-operation-actions {
  flex: 0 0 auto;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-operation-actions .bs-btn {
  border-radius: 999px;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  min-width: 130px;
  padding: 0 18px;
  width: auto;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-columns {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-section {
  border: 1px solid var(--floorplan-santander-border);
  border-top: 3px solid var(--floorplan-santander-red);
  border-radius: 6px;
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  padding: 18px 20px 22px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-section-heading {
  border-bottom: 1px solid var(--floorplan-santander-border);
  margin-bottom: 18px;
  padding-bottom: 12px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-section-heading h2 {
  color: var(--floorplan-santander-ink);
  font-size: 1.8rem;
  margin: 3px 0 0;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-section > h3,
body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-section-heading {
  border-bottom: 1px solid var(--floorplan-santander-border);
  margin: 0 0 18px;
  min-height: 48px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-section > h3 {
  align-items: center;
  color: var(--floorplan-santander-ink);
  display: flex;
  font-size: 1.65rem;
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-section-heading h3 {
  color: var(--floorplan-santander-ink);
  font-size: 1.65rem;
  font-weight: 650;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-cav-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--floorplan-petrol);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 650;
  gap: 7px;
  min-height: 36px;
  padding: 0 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-cav-link img {
  height: 18px;
  width: 18px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-cav-link:hover,
body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-cav-link:focus-visible {
  color: var(--floorplan-petrol-dark);
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-rut-field {
  position: relative;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-readonly-grid {
  gap: 17px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-readonly-grid input,
body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-readonly-grid select {
  height: 42px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-inline-action {
  min-height: 42px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-inline-action .bs-btn {
  border-radius: 999px;
  min-height: 38px;
}

body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-status {
  margin: 16px 0 0;
}

@media (max-width: 1050px) {
  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-detail-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-header,
  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-operation-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-operation-actions .bs-btn,
  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-create-header > .bs-btn {
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-readonly-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-readonly-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.floorplan-santander-theme .floorplan-operation-create-page .floorplan-readonly-grid label.wide {
    grid-column: auto;
  }
}

body.floorplan-santander-theme .floorplan-client-toggle {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-radius: 20px;
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 650;
  min-height: 36px;
  min-width: 112px;
  padding: 7px 16px;
}

body.floorplan-santander-theme .floorplan-client-toggle.enable {
  background: var(--floorplan-santander-red);
  border-color: var(--floorplan-santander-red);
  color: #fff;
}

body.floorplan-santander-theme .floorplan-client-toggle.enable:hover {
  background: var(--floorplan-santander-red-dark);
  border-color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .floorplan-client-toggle.disable {
  color: var(--floorplan-santander-red-dark);
}

body.floorplan-santander-theme .floorplan-client-toggle.disable:hover {
  background: #fff2f2;
  border-color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-client-toggle:focus-visible {
  outline: 2px solid var(--floorplan-petrol, #005b62);
  outline-offset: 2px;
}

body.floorplan-santander-theme .floorplan-client-admin-empty {
  border-top: 1px solid var(--floorplan-santander-border);
  color: var(--floorplan-santander-muted);
  padding: 42px 20px;
  text-align: center;
}

body.floorplan-santander-theme .floorplan-client-admin-directory {
  display: grid;
  gap: 16px;
}

body.floorplan-santander-theme .floorplan-client-admin-directory .floorplan-client-admin-card-heading {
  border-bottom: 1px solid var(--floorplan-santander-border);
  padding: 0 0 16px;
}

body.floorplan-santander-theme .floorplan-client-admin-list {
  display: grid;
  gap: 14px;
}

body.floorplan-santander-theme .floorplan-client-admin-search {
  align-items: end;
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 3px solid var(--floorplan-santander-red);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 520px) auto 1fr;
  padding: 14px 16px;
}

body.floorplan-santander-theme .floorplan-client-admin-search-field > label {
  color: var(--floorplan-santander-ink);
  display: block;
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 6px;
}

body.floorplan-santander-theme .floorplan-client-admin-search-field > div {
  position: relative;
}

body.floorplan-santander-theme .floorplan-client-admin-search-field span {
  color: var(--floorplan-santander-muted);
  font-size: 1rem;
  left: 12px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

body.floorplan-santander-theme .floorplan-client-admin-search input {
  background: #fff;
  border: 1px solid #b9b1ab;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--floorplan-santander-ink);
  height: 40px;
  padding: 0 12px 0 38px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-client-admin-search input:focus-visible {
  border-color: var(--floorplan-petrol, #005b62);
  outline: 2px solid var(--floorplan-petrol, #005b62);
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-client-admin-search > button {
  background: #fff;
  border: 1px solid #d7d0ca;
  border-radius: 20px;
  color: #4d4641;
  cursor: pointer;
  font-weight: 650;
  height: 40px;
  padding: 0 18px;
}

body.floorplan-santander-theme .floorplan-client-admin-search > button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

body.floorplan-santander-theme .floorplan-client-admin-search > p {
  color: var(--floorplan-santander-muted);
  font-size: .95rem;
  justify-self: end;
  margin: 0 0 10px;
}

body.floorplan-santander-theme .floorplan-client-admin-no-results {
  background: #fff;
  border: 1px dashed #cfc7c1;
  padding: 34px 20px;
  text-align: center;
}

body.floorplan-santander-theme .floorplan-client-admin-no-results strong,
body.floorplan-santander-theme .floorplan-client-admin-no-results span {
  display: block;
}

body.floorplan-santander-theme .floorplan-client-admin-no-results span {
  color: var(--floorplan-santander-muted);
  margin-top: 5px;
}

body.floorplan-santander-theme .floorplan-client-admin-item {
  background: #fff;
  border: 1px solid var(--floorplan-santander-border);
  border-left: 4px solid #a8a19d;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(45, 38, 35, 0.045);
  overflow: hidden;
}

body.floorplan-santander-theme .floorplan-client-admin-item.is-enabled {
  border-left-color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-client-admin-item > form[id^="estado-concesionario-"] {
  display: none;
}

body.floorplan-santander-theme .floorplan-client-admin-item-header {
  align-items: center;
  border-bottom: 1px solid #eee9e6;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 15px 18px;
}

body.floorplan-santander-theme .floorplan-client-admin-identity {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-client-admin-monogram {
  align-items: center;
  background: #f7eceb;
  border-radius: 4px;
  color: var(--floorplan-santander-red-dark);
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 1.45rem;
  font-weight: 750;
  height: 38px;
  justify-content: center;
}

body.floorplan-santander-theme .floorplan-client-admin-identity h3 {
  color: var(--floorplan-santander-ink);
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-client-admin-identity p {
  color: var(--floorplan-santander-muted);
  font-size: 1.05rem;
  margin: 3px 0 0;
}

body.floorplan-santander-theme .floorplan-client-configuration-form {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.4fr) minmax(210px, 0.7fr);
  padding: 16px 18px;
}

body.floorplan-santander-theme .floorplan-client-config-field {
  display: grid;
  gap: 6px;
}

body.floorplan-santander-theme .floorplan-client-config-field label,
body.floorplan-santander-theme .floorplan-client-profile-selector summary strong,
body.floorplan-santander-theme .floorplan-client-disabled-summary > div > span,
body.floorplan-santander-theme .floorplan-client-admin-audit > span {
  color: var(--floorplan-santander-ink);
  font-size: 1.05rem;
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-client-config-field input {
  background: #fff;
  border: 1px solid #bdb6b2;
  border-radius: 4px;
  color: var(--floorplan-santander-ink);
  font: inherit;
  min-height: 38px;
  padding: 8px 10px;
  text-transform: uppercase;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-client-config-field input:focus-visible {
  border-color: var(--floorplan-petrol, #005b62);
  outline: 2px solid rgba(0, 91, 98, 0.16);
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-client-config-field small,
body.floorplan-santander-theme .floorplan-client-profile-selector summary small,
body.floorplan-santander-theme .floorplan-client-admin-audit small {
  color: var(--floorplan-santander-muted);
  font-size: 1rem;
}

body.floorplan-santander-theme .floorplan-client-profile-selector {
  border: 1px solid #d7d1cd;
  border-radius: 4px;
  min-width: 0;
  position: relative;
}

body.floorplan-santander-theme .floorplan-client-profile-selector summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  min-height: 58px;
  padding: 8px 12px;
}

body.floorplan-santander-theme .floorplan-client-profile-selector summary::-webkit-details-marker {
  display: none;
}

body.floorplan-santander-theme .floorplan-client-profile-selector summary > span:first-child {
  display: grid;
  gap: 2px;
}

body.floorplan-santander-theme .floorplan-client-profile-selector summary::after {
  border-bottom: 2px solid var(--floorplan-petrol, #005b62);
  border-right: 2px solid var(--floorplan-petrol, #005b62);
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-left: 4px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
  width: 8px;
}

body.floorplan-santander-theme .floorplan-client-profile-selector[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

body.floorplan-santander-theme .floorplan-client-profile-preview {
  display: flex;
  flex: 1 1 auto;
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
}

body.floorplan-santander-theme .floorplan-client-profile-preview span {
  background: #edf3f4;
  border: 1px solid #d3e1e3;
  border-radius: 3px;
  color: var(--floorplan-petrol, #005b62);
  font-size: 0.95rem;
  max-width: 120px;
  overflow: hidden;
  padding: 3px 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-client-profile-search {
  border-top: 1px solid #e5dfdc;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
}

body.floorplan-santander-theme .floorplan-client-profile-search > label {
  color: var(--floorplan-santander-ink);
  font-size: 1rem;
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-client-profile-search > div {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

body.floorplan-santander-theme .floorplan-client-profile-search input {
  background: #fff;
  border: 1px solid #bdb6b2;
  border-radius: 4px;
  color: var(--floorplan-santander-ink);
  font: inherit;
  min-height: 36px;
  min-width: 0;
  padding: 7px 10px;
}

body.floorplan-santander-theme .floorplan-client-profile-search input:focus-visible {
  border-color: var(--floorplan-petrol, #005b62);
  outline: 2px solid rgba(0, 91, 98, 0.16);
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-client-profile-search button {
  background: #fff;
  border: 1px solid #d7d1cd;
  border-radius: 4px;
  color: var(--floorplan-petrol, #005b62);
  min-height: 36px;
  padding: 0 12px;
}

body.floorplan-santander-theme .floorplan-client-profile-search button:disabled {
  color: #948c87;
  cursor: not-allowed;
}

body.floorplan-santander-theme .floorplan-client-profile-search p {
  color: var(--floorplan-santander-muted);
  font-size: 0.95rem;
  margin: 0;
}

body.floorplan-santander-theme .floorplan-client-profile-selector fieldset {
  border: 0;
  border-top: 1px solid #e5dfdc;
  display: grid;
  gap: 6px;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  padding: 10px 12px 12px;
}

body.floorplan-santander-theme .floorplan-client-profile-selector legend {
  color: var(--floorplan-santander-muted);
  font-size: 1rem;
  padding: 8px 0 2px;
}

body.floorplan-santander-theme .floorplan-client-profile-selector fieldset label {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 1.05rem;
  gap: 8px;
  line-height: 1.25;
}

body.floorplan-santander-theme .floorplan-client-profile-empty {
  color: var(--floorplan-santander-muted);
  margin: 4px 0;
  padding: 8px 0;
  text-align: center;
}

body.floorplan-santander-theme .floorplan-client-profile-selector input[type="checkbox"] {
  accent-color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-client-admin-actions {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.floorplan-santander-theme .floorplan-client-admin-audit {
  display: grid;
  flex: 1 0 100%;
  gap: 2px;
  text-align: right;
}

body.floorplan-santander-theme .floorplan-client-admin-audit strong {
  color: var(--floorplan-santander-ink);
  font-size: 1.05rem;
}

body.floorplan-santander-theme .floorplan-client-disabled-summary {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(200px, 0.8fr) minmax(260px, 1.4fr) minmax(210px, 0.7fr);
  padding: 16px 18px;
}

body.floorplan-santander-theme .floorplan-client-disabled-summary > div:not(.floorplan-client-admin-actions) {
  display: grid;
  gap: 4px;
}

body.floorplan-santander-theme .floorplan-client-representatives {
  margin: 0 22px 20px;
  border: 1px solid #ded8d3;
  background: #fff;
}

body.floorplan-santander-theme .floorplan-client-representatives > summary {
  min-height: 58px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  background: #faf9f8;
}

body.floorplan-santander-theme .floorplan-client-representatives > summary::-webkit-details-marker {
  display: none;
}

body.floorplan-santander-theme .floorplan-client-representatives > summary strong,
body.floorplan-santander-theme .floorplan-client-representatives > summary small {
  display: block;
}

body.floorplan-santander-theme .floorplan-client-representatives > summary small {
  margin-top: 3px;
  color: #6a625d;
}

body.floorplan-santander-theme .floorplan-client-representative-summary span {
  padding: 4px 9px;
  border-radius: 3px;
  color: #075e68;
  background: #e7f2f3;
  font-size: 12px;
  font-weight: 700;
}

body.floorplan-santander-theme .floorplan-client-representative-summary .warning {
  color: #8a4d00;
  background: #fff2dc;
}

body.floorplan-santander-theme .floorplan-client-representative-content {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 16px;
  border-top: 1px solid #e6e1dd;
}

body.floorplan-santander-theme .floorplan-client-representative-list {
  display: grid;
  gap: 10px;
}

body.floorplan-santander-theme .floorplan-client-representative {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(320px, 2fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e3ded9;
}

body.floorplan-santander-theme .floorplan-client-representative.is-inactive {
  background: #f7f5f3;
  color: #706963;
}

body.floorplan-santander-theme .floorplan-client-representative-identity strong,
body.floorplan-santander-theme .floorplan-client-representative-identity span {
  display: block;
}

body.floorplan-santander-theme .floorplan-client-representative-identity span {
  margin-top: 3px;
  color: #6a625d;
  font-size: 12px;
}

body.floorplan-santander-theme .floorplan-client-representative form {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.floorplan-santander-theme .floorplan-client-representative-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

body.floorplan-santander-theme .floorplan-client-representative-flags label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-client-representative-flags input {
  width: 16px;
  height: 16px;
  accent-color: #075e68;
}

body.floorplan-santander-theme .floorplan-client-representative-save,
body.floorplan-santander-theme .floorplan-client-representative-associate,
body.floorplan-santander-theme .floorplan-client-representative-search button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #075e68;
  border-radius: 3px;
  color: #fff;
  background: #075e68;
  font-weight: 700;
}

body.floorplan-santander-theme .floorplan-client-representative-remove {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #d9d2cd;
  border-radius: 3px;
  color: #b00020;
  background: #fff;
}

body.floorplan-santander-theme .floorplan-client-representative-add {
  align-self: start;
  padding: 14px;
  border-left: 3px solid #ec0000;
  background: #faf9f8;
}

body.floorplan-santander-theme .floorplan-client-representative-search > label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

body.floorplan-santander-theme .floorplan-client-representative-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

body.floorplan-santander-theme .floorplan-client-representative-search input {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #b9b1ab;
  border-radius: 3px;
}

body.floorplan-santander-theme .floorplan-client-representative-search p {
  min-height: 34px;
  margin: 7px 0 10px;
  color: #6a625d;
  font-size: 12px;
}

body.floorplan-santander-theme .floorplan-client-representative-search p.is-success {
  color: #075e68;
  font-weight: 700;
}

body.floorplan-santander-theme .floorplan-client-representative-search p.is-error {
  color: #b00020;
}

body.floorplan-santander-theme .floorplan-client-representative-selection {
  background: #fff;
  border: 1px solid #ded8d3;
  border-radius: 4px;
  margin: 10px 0 12px;
  padding: 10px;
}

body.floorplan-santander-theme .floorplan-client-representative-selection > div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

body.floorplan-santander-theme .floorplan-client-representative-selection > div strong {
  color: var(--floorplan-santander-ink);
  font-size: 1rem;
}

body.floorplan-santander-theme .floorplan-client-representative-selection > div span {
  color: var(--floorplan-santander-muted);
  font-size: 0.95rem;
}

body.floorplan-santander-theme .floorplan-client-representative-selection ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 9px 0 0;
  max-height: 170px;
  overflow-y: auto;
  padding: 0;
}

body.floorplan-santander-theme .floorplan-client-representative-selection li {
  align-items: center;
  background: #edf3f4;
  border: 1px solid #d3e1e3;
  border-radius: 3px;
  color: var(--floorplan-petrol, #005b62);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 6px 8px;
}

body.floorplan-santander-theme .floorplan-client-representative-selection li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-client-representative-selection li button {
  background: transparent;
  border: 0;
  color: #b00020;
  cursor: pointer;
  font-weight: 650;
  padding: 3px 4px;
}

body.floorplan-santander-theme .floorplan-client-representative-selection > p,
body.floorplan-santander-theme .floorplan-client-representative-help {
  color: var(--floorplan-santander-muted);
  font-size: 0.95rem;
  margin: 9px 0 0;
}

body.floorplan-santander-theme .floorplan-client-representative-associate {
  width: 100%;
  margin-top: 12px;
}

body.floorplan-santander-theme .floorplan-client-representative-associate:disabled {
  cursor: not-allowed;
  opacity: .5;
}

body.floorplan-santander-theme .floorplan-client-representative-empty {
  margin: 0;
  padding: 14px;
  color: #6a625d;
  border: 1px dashed #d9d2cd;
}

@media (max-width: 1100px) {
  body.floorplan-santander-theme .floorplan-client-admin-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.floorplan-santander-theme .floorplan-client-admin-search > p {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0;
  }

  body.floorplan-santander-theme .floorplan-client-representative-content {
    grid-template-columns: 1fr;
  }

  body.floorplan-santander-theme .floorplan-client-representative {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.floorplan-santander-theme .floorplan-client-admin-search {
    grid-template-columns: 1fr;
  }

  body.floorplan-santander-theme .floorplan-client-admin-search > button {
    width: 100%;
  }

  body.floorplan-santander-theme .floorplan-client-representatives {
    margin-inline: 12px;
  }

  body.floorplan-santander-theme .floorplan-client-representatives > summary {
    align-items: flex-start;
    flex-direction: column;
  }

  body.floorplan-santander-theme .floorplan-client-representative form {
    align-items: stretch;
    flex-direction: column;
  }
}

body.floorplan-santander-theme .floorplan-client-disabled-summary strong {
  color: #6d6561;
  font-size: 1.05rem;
  font-weight: 550;
}

@media (max-width: 1100px) {
  body.floorplan-santander-theme .floorplan-client-configuration-form,
  body.floorplan-santander-theme .floorplan-client-disabled-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.floorplan-santander-theme .floorplan-client-admin-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body.floorplan-santander-theme .floorplan-client-admin-header,
  body.floorplan-santander-theme .floorplan-client-admin-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  body.floorplan-santander-theme .floorplan-client-admin-summary {
    min-width: 0;
  }

  body.floorplan-santander-theme .floorplan-client-admin-item-header {
    align-items: flex-start;
  }

  body.floorplan-santander-theme .floorplan-client-configuration-form,
  body.floorplan-santander-theme .floorplan-client-disabled-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  body.floorplan-santander-theme .floorplan-client-admin-actions {
    grid-column: auto;
  }

  body.floorplan-santander-theme .floorplan-client-admin-actions .floorplan-client-toggle {
    flex: 1 1 130px;
  }

  body.floorplan-santander-theme .floorplan-client-admin-audit {
    text-align: left;
  }

  body.floorplan-santander-theme .floorplan-client-profile-preview {
    display: none;
  }
}

/* Santander QA test: isolated, read-only administration surface. */
body.floorplan-santander-theme .floorplan-santander-test-page .bs-contenedor {
  max-width: 1120px;
  padding-bottom: 48px;
  padding-top: 30px;
}

body.floorplan-santander-theme .floorplan-santander-test-header {
  align-items: center;
  border-left: 4px solid var(--floorplan-santander-red);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 5px 0 5px 20px;
}

body.floorplan-santander-theme .floorplan-santander-test-kicker,
body.floorplan-santander-theme .floorplan-santander-test-card > header > span,
body.floorplan-santander-theme .floorplan-santander-test-result header span {
  color: var(--floorplan-santander-red);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.floorplan-santander-theme .floorplan-santander-test-header h1,
body.floorplan-santander-theme .floorplan-santander-test-card h2,
body.floorplan-santander-theme .floorplan-santander-test-result h2 {
  color: var(--floorplan-santander-ink);
  letter-spacing: 0;
  margin: 4px 0 0;
}

body.floorplan-santander-theme .floorplan-santander-test-header p {
  color: var(--floorplan-santander-muted);
  margin: 7px 0 0;
}

body.floorplan-santander-theme .floorplan-santander-test-readonly {
  align-items: center;
  background: #edf3f4;
  border: 1px solid #ccdadd;
  border-radius: 4px;
  color: var(--floorplan-petrol, #005b62);
  display: inline-flex;
  font-weight: 650;
  gap: 8px;
  padding: 9px 12px;
  white-space: nowrap;
}

body.floorplan-santander-theme .floorplan-santander-test-readonly > span {
  background: var(--floorplan-petrol, #005b62);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

body.floorplan-santander-theme .floorplan-santander-test-card,
body.floorplan-santander-theme .floorplan-santander-test-result {
  background: #fff;
  border: 1px solid #ded8d4;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(39, 31, 27, 0.06);
  padding: 22px 24px;
}

body.floorplan-santander-theme .floorplan-santander-test-card {
  border-top: 3px solid var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-santander-test-card > header {
  border-bottom: 1px solid #e5dfdc;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

body.floorplan-santander-theme .floorplan-santander-test-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.floorplan-santander-theme .floorplan-santander-test-field {
  display: grid;
  gap: 7px;
}

body.floorplan-santander-theme .floorplan-santander-test-field label {
  color: var(--floorplan-santander-ink);
  font-weight: 650;
}

body.floorplan-santander-theme .floorplan-santander-test-field select,
body.floorplan-santander-theme .floorplan-santander-test-field input {
  background: #fff;
  border: 1px solid #bdb5b0;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 11px;
  width: 100%;
}

body.floorplan-santander-theme .floorplan-santander-test-field select:focus,
body.floorplan-santander-theme .floorplan-santander-test-field input:focus {
  border-color: var(--floorplan-petrol, #005b62);
  outline: 2px solid rgba(0, 91, 98, 0.2);
  outline-offset: 1px;
}

body.floorplan-santander-theme .floorplan-santander-test-field small {
  color: var(--floorplan-santander-muted);
}

body.floorplan-santander-theme .floorplan-field-error {
  color: var(--floorplan-santander-red);
  min-height: 1.2em;
}

body.floorplan-santander-theme .floorplan-santander-test-actions {
  border-top: 1px solid #e5dfdc;
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 18px;
}

body.floorplan-santander-theme .floorplan-santander-test-submit {
  background: var(--floorplan-santander-red);
  border: 1px solid var(--floorplan-santander-red);
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 40px;
  min-width: 220px;
  padding: 8px 20px;
}

body.floorplan-santander-theme .floorplan-santander-test-submit:hover,
body.floorplan-santander-theme .floorplan-santander-test-submit:focus-visible {
  background: #b4000a;
  border-color: #b4000a;
}

body.floorplan-santander-theme .floorplan-santander-test-result {
  border-left: 4px solid var(--floorplan-petrol, #005b62);
  margin-top: 20px;
}

body.floorplan-santander-theme .floorplan-santander-test-result.is-error,
body.floorplan-santander-theme .floorplan-santander-test-result.is-rejected {
  border-left-color: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-santander-test-result header {
  align-items: center;
  display: flex;
  gap: 12px;
}

body.floorplan-santander-theme .floorplan-santander-test-result-icon {
  background: var(--floorplan-petrol, #005b62);
  border-radius: 50%;
  display: block;
  height: 12px;
  width: 12px;
}

body.floorplan-santander-theme .floorplan-santander-test-result.is-error .floorplan-santander-test-result-icon,
body.floorplan-santander-theme .floorplan-santander-test-result.is-rejected .floorplan-santander-test-result-icon {
  background: var(--floorplan-santander-red);
}

body.floorplan-santander-theme .floorplan-santander-test-result > p {
  color: var(--floorplan-santander-muted);
  margin: 14px 0;
}

body.floorplan-santander-theme .floorplan-santander-test-result dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

body.floorplan-santander-theme .floorplan-santander-test-result dl > div {
  border-left: 1px solid #e5dfdc;
  display: grid;
  gap: 3px;
  padding-left: 12px;
}

body.floorplan-santander-theme .floorplan-santander-test-result dt {
  color: var(--floorplan-santander-muted);
  font-size: 1rem;
}

body.floorplan-santander-theme .floorplan-santander-test-result dd {
  color: var(--floorplan-santander-ink);
  font-weight: 650;
  margin: 0;
}

@media (max-width: 760px) {
  body.floorplan-santander-theme .floorplan-santander-test-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.floorplan-santander-theme .floorplan-santander-test-grid,
  body.floorplan-santander-theme .floorplan-santander-test-result dl {
    grid-template-columns: minmax(0, 1fr);
  }

  body.floorplan-santander-theme .floorplan-santander-test-actions,
  body.floorplan-santander-theme .floorplan-santander-test-submit {
    width: 100%;
  }
}
