/* Sistema visual aprobado el 23/09/2026. Los datos y las reglas de negocio
   permanecen en sus componentes; esta hoja solo adapta superficies y controles. */
:root {
  --amanta-redesign-bg: #f2f3f5;
  --amanta-redesign-ink: #18181b;
  --amanta-redesign-muted: #8b8e97;
  --amanta-redesign-orange: #e84420;
  --amanta-redesign-glass: rgba(255, 255, 255, .68);
  --amanta-redesign-stroke: rgba(255, 255, 255, .86);
  --amanta-redesign-shadow: 0 12px 40px -14px rgba(30, 30, 60, .14);
}
html, body, #root { background: var(--amanta-redesign-bg); }
body { color: var(--amanta-redesign-ink); }
.amanta-redesign-main {
  position: relative;
  padding: 20px 20px 24px 16px;
  background: var(--amanta-redesign-bg);
  min-width: 0;
}
.amanta-redesign-sidebar.sidebar-panel {
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 232px;
  border: 1px solid var(--amanta-redesign-stroke);
  border-radius: 28px;
  background: rgba(255, 255, 255, .70);
  color: #4b4e56;
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: var(--amanta-redesign-shadow);
  overflow: hidden;
}
.amanta-redesign-sidebar > div:nth-of-type(1) {
  border: 0;
  padding: 18px 16px 12px;
  gap: 10px;
}
.amanta-redesign-sidebar > div:nth-of-type(1) img {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}
.amanta-redesign-sidebar > div:nth-of-type(1) span {
  color: var(--amanta-redesign-ink);
  font-size: 15px;
  letter-spacing: 0;
}
.amanta-redesign-sidebar > div:nth-of-type(1) p { color: var(--amanta-redesign-muted); }
.amanta-redesign-sidebar > div:nth-of-type(1) button {
  color: #6b6e76;
  background: rgba(255,255,255,.75);
  border-color: rgba(0,0,0,.08);
}
.amanta-redesign-sidebar > div:nth-of-type(2) { display: none; }
.amanta-redesign-sidebar .sidebar-nav {
  padding: 4px 14px 10px;
  overflow-x: hidden;
}
.amanta-redesign-sidebar .sidebar-nav > div { padding: 0 0 8px; }
.amanta-redesign-sidebar .sidebar-nav > div > div:has(> p) {
  margin: 4px 0 3px;
  padding: 0 12px;
}
.amanta-redesign-sidebar .sidebar-nav > div > div:has(> p) > span { display: none; }
.amanta-redesign-sidebar .sidebar-nav > div > div:has(> p) > p {
  color: #8b8e97;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
}
.amanta-redesign-sidebar .sidebar-nav > div > div:last-child {
  border: 0;
  padding: 0;
}
.amanta-redesign-sidebar .sidebar-nav a {
  min-height: 37px;
  height: 37px;
  border-radius: 13px;
  padding: 0 12px;
  color: #4b4e56;
  font-size: 13.5px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
}
.amanta-redesign-sidebar .sidebar-nav a:hover {
  background: rgba(255,255,255,.75);
  color: var(--amanta-redesign-ink);
}
.amanta-redesign-sidebar .sidebar-nav a.bg-primary {
  background: var(--amanta-redesign-ink) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
.amanta-redesign-sidebar .sidebar-nav a.bg-primary::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  margin-left: auto;
  background: var(--amanta-redesign-orange);
  box-shadow: 0 0 10px var(--amanta-redesign-orange);
}
.amanta-redesign-sidebar > div:last-child {
  border-color: rgba(0,0,0,.06);
  padding: 9px 14px 13px;
}
.amanta-redesign-sidebar > div:last-child > a {
  border-color: rgba(0,0,0,.06);
  background: rgba(255,255,255,.8);
  color: #4b4e56;
}
.amanta-redesign-sidebar > div:last-child > div:last-child {
  margin-top: 9px;
  padding: 7px;
  border-radius: 16px;
  background: rgba(255,255,255,.65);
}
.amanta-redesign-sidebar > div:last-child > div:last-child > div:first-child {
  background: #e8e2dc;
  color: #6b6259;
}
.amanta-redesign-sidebar > div:last-child > div:last-child p:first-child { color: var(--amanta-redesign-ink); }
.amanta-redesign-sidebar > div:last-child > div:last-child p:last-child { color: var(--amanta-redesign-muted); }
.amanta-redesign-sidebar .sidebar-peek-handle { border-radius: 0 10px 10px 0; }

/* Superficies y controles compartidos. Bancos mantiene sus paneles originales. */
.amanta-redesign-main:not(.amanta-banks-page) :is(.bg-white, .bg-surface).rounded-2xl,
.amanta-redesign-main:not(.amanta-banks-page) :is(.bg-white, .bg-surface).rounded-xl.shadow-sm {
  background: var(--amanta-redesign-glass);
  border-color: var(--amanta-redesign-stroke);
  border-radius: 26px;
  box-shadow: var(--amanta-redesign-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.amanta-redesign-main :is(h1, h2, h3) { color: var(--amanta-redesign-ink); }
.amanta-redesign-main h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.amanta-redesign-main input:not([type=checkbox]):not([type=radio]),
.amanta-redesign-main textarea,
.amanta-redesign-main select {
  color: var(--amanta-redesign-ink);
}
.amanta-redesign-main input::placeholder,
.amanta-redesign-main textarea::placeholder { color: #a8abb2; opacity: 1; }
/* Celdas sobre fondo oscuro (fila de subgrupo del presupuesto): la regla de tinta de arriba les
   ganaba por especificidad a `.sheet-cell-dark` y dejaba el nombre casi negro sobre negro. */
.amanta-redesign-main input.sheet-cell.sheet-cell-dark:not([type=checkbox]):not([type=radio]) { color: #fff; }
.amanta-redesign-main input.sheet-cell.sheet-cell-dark::placeholder { color: rgba(255,255,255,.45); }
.amanta-redesign-main input:focus-visible,
.amanta-redesign-main textarea:focus-visible,
.amanta-redesign-main button:focus-visible,
.amanta-redesign-sidebar a:focus-visible {
  outline: 2px solid var(--amanta-redesign-orange);
  outline-offset: 2px;
}
.amanta-redesign-main .bg-primary:not([role=tab]) {
  border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(232,68,32,.55);
}
.amanta-redesign-main .amanta-filter-total,
.amanta-redesign-main .amanta-pay-total {
  border-radius: 999px;
  background: rgba(0,0,0,.05);
}
.amanta-redesign-main .amanta-income-filter-total,
.amanta-redesign-main .amanta-pay-total[data-money-direction=in] {
  background: rgba(34,197,94,.10);
}
.amanta-redesign-main .amanta-expense-filter-total,
.amanta-redesign-main .amanta-pay-total[data-money-direction=out] {
  background: rgba(239,68,68,.08);
}
.amanta-redesign-main .amanta-pay-filterbar {
  align-items: center;
  flex-wrap: nowrap;
}
.amanta-redesign-main .amanta-pay-filterbar :is(input, button[role=combobox], .amanta-date-range-trigger) {
  border-radius: 999px;
}
.amanta-redesign-main .amanta-movement-page :is(.amanta-movement-entry-grid, .amanta-movement-entry-footer) {
  background: rgba(255,255,255,.75);
}
.amanta-redesign-main .amanta-movement-page .amanta-movement-entry-column input {
  border-radius: 12px;
}
.amanta-redesign-main table th {
  color: #8b8e97;
  font-size: 10.5px;
  letter-spacing: .05em;
}
.amanta-redesign-main table td {
  border-color: rgba(0,0,0,.06);
}
.amanta-redesign-main table td .truncate { min-width: 0; }
.amanta-redesign-main .amanta-import-notice {
  position: absolute;
  top: 20px;
  right: 350px;
  z-index: 10;
  display: block;
  width: auto;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--amanta-redesign-stroke);
  box-shadow: 0 4px 16px rgba(30,30,60,.06);
}
.amanta-import-notice-button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b6e76;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}
.amanta-import-notice-button::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #f59e0b;
}
.amanta-redesign-main .amanta-audit-grid {
  min-height: 52px;
  background: rgba(255,255,255,.5);
}
.amanta-redesign-main .amanta-audit-grid > div:not(.amanta-bank-row-actions) {
  min-width: 0;
  max-height: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-top: 9px;
  padding-bottom: 9px;
}
.amanta-redesign-main .amanta-audit-grid > div > div {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.amanta-movement-page :is(.amanta-audit-grid, .amanta-audit-original-grid) > div {
  min-width: 0;
}
.amanta-movement-page .amanta-compact-cell-preview {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.amanta-movement-page .amanta-compact-cell-preview > span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.amanta-movement-page .amanta-invoice-selection {
  display: flex;
  width: 100%;
  min-width: 0;
}
.amanta-movement-page .amanta-invoice-selection > .amanta-compact-cell-preview,
.amanta-movement-page .amanta-invoice-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.amanta-movement-page .amanta-history-party-link {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}
.amanta-movement-page .amanta-history-party-name,
.amanta-movement-page .amanta-history-party-link small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.amanta-movement-page .amanta-audit-grid > div > span:not(.amanta-invoice-selection),
.amanta-movement-page .amanta-audit-grid > div > .inline-flex {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.amanta-redesign-main .amanta-sticky-history-columns {
  background: #fff;
}
.amanta-redesign-main .amanta-sticky-history-columns .amanta-history-column > div {
  color: #8b8e97;
  font-size: 10.5px;
  letter-spacing: .05em;
  padding-top: 9px;
  padding-bottom: 9px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.amanta-movement-page .amanta-sticky-history-columns > .amanta-history-column {
  overflow: hidden;
}
.amanta-movement-page .amanta-sticky-history-columns .amanta-invoice-selection,
.amanta-movement-page .amanta-sticky-history-columns .amanta-invoice-heading {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.amanta-movement-page .amanta-sticky-history-columns .amanta-invoice-heading-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media(max-width: 1400px) {
  /* Por debajo de 1400 px el aviso tapaba «Importar Excel»: pasa a su propia línea. */
  .amanta-redesign-main .amanta-import-notice { position: static; margin-bottom: 10px; width: fit-content; }
}
@media (max-width: 1100px) {
  .amanta-redesign-sidebar.sidebar-panel { left: 12px; top: 12px; bottom: 12px; width: 220px; }
  .amanta-redesign-main { padding: 14px 12px; }
  .amanta-redesign-main.ml-64 { margin-left: 232px; }
}

/* Clientes: nombre y logo reciben ancho real; el avance proviene de los datos. */
.amanta-client-list-row {
  grid-template-columns: minmax(270px,2.3fr) minmax(100px,1fr) 110px minmax(125px,1.1fr) 110px 60px 72px;
}
.amanta-client-list-row > div {
  min-width: 0;
  overflow: hidden;
}
.amanta-client-list-row > div:first-child p:first-child {
  letter-spacing: 0;
}
.amanta-client-list-row:not(button) {
  font-size: 10px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.amanta-client-list-row:not(button) > div { padding: 9px 8px; }
.amanta-client-kpi:has(.amanta-client-ring) {
  position: relative;
  padding-right: 76px;
}
.amanta-client-ring {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff 78%, transparent 80%), conic-gradient(#15803d var(--amanta-ring), #e9ebef 0);
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .amanta-client-list-row {
    grid-template-columns: minmax(205px,2.2fr) minmax(80px,1fr) 90px minmax(105px,1fr) 90px 52px 60px;
  }
}

/* Avisos: alta estable a la izquierda y listado a altura completa. */
.amanta-avisos-page > header {
  gap: 0;
}
.amanta-avisos-page > header > div:first-child {
  display: none;
}
.amanta-avisos-page > header h1 {
  font-size: 28px;
  font-weight: 600;
}
.amanta-avisos-grid {
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  gap: 14px;
}
.amanta-avisos-grid > section {
  min-width: 0;
  min-height: max(590px, calc(100vh - 130px));
  border-radius: 24px;
  border-color: rgba(255,255,255,.85);
  box-shadow: none;
}
.amanta-avisos-grid > section:first-child {
  display: flex;
  flex-direction: column;
}
.amanta-avisos-grid > section:first-child > div:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}
.amanta-avisos-grid > section:first-child > div:nth-child(2) > div:last-child {
  margin-top: auto;
  justify-content: flex-end;
}
.amanta-avisos-grid > section:first-child > div:nth-child(2) > div:last-child button:first-child {
  flex: none;
  min-height: 44px;
  border-radius: 999px;
}
.amanta-avisos-grid > section:first-child label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8b8e97;
}
.amanta-avisos-grid > section:first-child input,
.amanta-avisos-grid > section:first-child textarea {
  min-height: 44px;
  border-radius: 14px;
}
.amanta-avisos-grid > section:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.amanta-avisos-grid > section:nth-child(2) > div:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.amanta-avisos-grid > section:nth-child(2) > div:nth-child(2) > div:first-child:last-child {
  display: grid;
  place-content: center;
  flex: 1;
  min-height: 200px;
  padding: 20px;
  border: 0;
}
/* Destino del aviso: varias áreas (fichas que se activan) y usuarios con búsqueda escrita (AVI-W01). */
.amanta-avisos-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.amanta-avisos-areas > button {
  min-height: 34px; padding: 0 12px; border: 1px solid var(--color-border, #e4e4e7); border-radius: 999px;
  background: #fff; color: #374151; font-size: 12px; font-weight: 600; transition: border-color .15s, background .15s, color .15s;
}
.amanta-avisos-areas > button:hover { border-color: rgba(232,68,32,.4); color: var(--color-primary, #e84420); }
.amanta-avisos-areas > button[aria-pressed="true"] {
  border-color: rgba(232,68,32,.35); background: var(--color-primary-light, #fdece7); color: var(--color-primary, #e84420);
}
.amanta-avisos-usuarios { display: grid; gap: 6px; }
.amanta-avisos-sugerencias {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; padding: 6px;
  border: 1px solid var(--color-border, #e4e4e7); border-radius: 14px; background: #fff;
  box-shadow: 0 18px 40px -18px rgba(15,23,42,.35);
}
.amanta-avisos-sugerencias > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 12px; border-radius: 10px; text-align: left; font-size: 13px; color: #111827;
}
.amanta-avisos-sugerencias > button small { color: #8b8e97; font-size: 11px; }
.amanta-avisos-sugerencias > button[data-active="true"] { background: var(--color-primary-light, #fdece7); color: var(--color-primary, #e84420); }
.amanta-avisos-sugerencias > p { padding: 7px 12px; font-size: 12px; color: #6b7280; }
.amanta-avisos-fichas { display: flex; flex-wrap: wrap; gap: 6px; }
.amanta-avisos-fichas > span {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 4px 3px 10px;
  border: 1px solid rgba(232,68,32,.2); border-radius: 999px; background: var(--color-primary-light, #fdece7);
  color: var(--color-primary, #e84420); font-size: 12px; font-weight: 600;
}
.amanta-avisos-fichas > span > button {
  display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 999px;
}
.amanta-avisos-fichas > span > button:hover { background: rgba(232,68,32,.12); }
.amanta-avisos-cuerpo { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.amanta-avisos-paginas {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; font-size: 12px; color: #6b7280;
}
.amanta-avisos-paginas > span { margin-right: auto; }
.amanta-avisos-paginas > button {
  min-height: 34px; padding: 0 14px; border: 1px solid var(--color-border, #e4e4e7); border-radius: 10px;
  background: #fff; font-weight: 600; color: #374151;
}
.amanta-avisos-paginas > button:disabled { opacity: .4; cursor: not-allowed; }
/* Pantallas bajas (1366×768): el mensaje cede alto para que la ventana no se desplace. */
@media (max-height: 820px) {
  .amanta-avisos-grid > section:first-child textarea { height: 76px; min-height: 76px; }
}
@media (max-width: 1100px) {
  .amanta-avisos-grid { grid-template-columns: minmax(300px, 40%) minmax(0,1fr); }
}
@media (max-width: 750px) {
  .amanta-avisos-grid { grid-template-columns: 1fr; }
  .amanta-avisos-grid > section { min-height: 0; }
}

.amanta-budget-gerencia-page > label:nth-child(2) {
  min-width: 0;
  border-radius: 999px;
}
.amanta-budget-gerencia-page > label:nth-child(2) input {
  min-width: 0;
  flex: 1;
}
.amanta-budget-gerencia-total {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 3px 14px;
  border-radius: 999px;
  background: #eef0f3;
  color: #18181b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.amanta-budget-client-logo { border-radius: 12px; }
@media (max-height: 700px) {
  .amanta-redesign-sidebar > div:nth-of-type(1) { padding: 10px 14px 6px; }
  .amanta-redesign-sidebar .sidebar-nav { padding-top: 2px; }
  .amanta-redesign-sidebar .sidebar-nav a { height: 34px; min-height: 34px; }
  .amanta-redesign-sidebar > div:last-child { padding: 6px 12px; }
}

/* El selector de módulos y el acceso viven en cielo-vidrio.css (regla del 29/09/2026). */
.amanta-redesign-main:has(.amanta-movement-page--expense) .amanta-import-notice {
  left: 208px;
  right: auto;
}

/* Proveedores: navegador primero; la ficha se abre como pestaña propia. */
.amanta-supplier-navigation {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-height: 39px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.amanta-supplier-navigation > button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 39px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6b6e76;
  font-size: 13px;
  cursor: pointer;
}
.amanta-supplier-navigation > button.is-active {
  border-bottom-color: #e84420;
  color: #18181b;
  font-weight: 600;
}
.amanta-supplier-navigation > button span[role=button] {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8b8e97;
  font-size: 18px;
}
.amanta-supplier-navigation > button span[role=button]:hover { background:rgba(0,0,0,.06); color:#18181b; }
.amanta-supplier-overview {
  padding: 15px 18px;
  border-color: var(--amanta-redesign-stroke);
  border-radius: 24px;
  background: var(--amanta-redesign-glass);
  box-shadow: var(--amanta-redesign-shadow);
}
.amanta-supplier-filterbar { flex-wrap: nowrap; }
.amanta-supplier-filterbar :is(input,select,button) { border-radius: 999px; }
.amanta-supplier-totals {
  gap: 12px;
  padding: 8px 0;
}
.amanta-supplier-totals > div {
  min-width: 0;
  padding: 10px 14px;
  border-radius: 17px;
  background: rgba(255,255,255,.62);
}
.amanta-supplier-totals h2 {
  margin-bottom: 4px;
  color: #8b8e97;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.amanta-supplier-totals strong { font-size: clamp(16px,1.6vw,24px); }
.amanta-supplier-selected-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 47px;
}
.amanta-supplier-selected-actions > div { margin-right:auto; min-width:0; }
.amanta-supplier-selected-actions strong { display:block; font-size:20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.amanta-supplier-selected-actions small { display:block; color:#8b8e97; font-size:11px; }
.amanta-supplier-selected-actions button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}
.amanta-supplier-selected-actions .amanta-supplier-selected-pay { border-color:#047857; background:#047857; color:#fff; }
.amanta-supplier-directory {
  border-color: var(--amanta-redesign-stroke);
  border-radius: 24px;
  background: var(--amanta-redesign-glass);
}
.amanta-supplier-directory.is-detail > div.grid,
.amanta-supplier-directory.is-detail > div.border-b > div.grid { display:none; }
.amanta-supplier-directory.is-detail > div.border-b { border:0; }
.amanta-supplier-directory.is-detail > div.border-b > div { padding: 14px; background:transparent; }
.amanta-supplier-detail-tabs {
  display:flex;
  gap:4px;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.amanta-supplier-detail-tabs button {
  height:40px;
  padding:0 15px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:#6b6e76;
  font-size:13px;
  cursor:pointer;
}
.amanta-supplier-detail-tabs button[aria-selected=true] {
  color:#e84420;
  border-bottom-color:#e84420;
  font-weight:600;
}
.amanta-supplier-cheques {
  overflow:hidden;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  background:#fff;
}
.amanta-supplier-cheques h2 { padding:13px 16px; font-size:14px; }
.amanta-supplier-cheques p { padding:18px; color:#8b8e97; }
.amanta-supplier-cheque-row {
  display:grid;
  grid-template-columns:110px 1.2fr 1fr 1fr 125px;
  gap:10px;
  align-items:center;
  min-height:46px;
  padding:8px 16px;
  border-top:1px solid rgba(0,0,0,.06);
  font-size:13px;
}
.amanta-supplier-cheque-row > * { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.amanta-supplier-cheque-row b { text-align:right; color:#dc2626; }

.amanta-rubros-view-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
}
.amanta-rubros-view-switch button {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b6e76;
  font-size: 13px;
  cursor: pointer;
}
.amanta-rubros-view-switch button[aria-pressed=true] {
  background: #fff;
  color: #18181b;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.amanta-rubros-view--list {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  background: rgba(255,255,255,.6);
}
.amanta-rubros-view--list > div {
  border: 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-radius: 0;
  padding: 10px 16px;
  box-shadow: none;
}
.amanta-rubros-view--list > div:first-child { border-top: 0; }
.amanta-rubros-view--list > div p { white-space: nowrap; overflow:hidden; text-overflow:ellipsis; }
.amanta-rubros-view--list > div p.mt-2 { margin-top:2px; }
.amanta-rubros-view--grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.amanta-rubros-view--grid > div { border-radius:18px; min-width:0; }
@media(max-width:1200px) { .amanta-rubros-view--grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:1100px) {
  .amanta-rubros-filter-row { grid-template-columns:minmax(0,1fr) 175px 165px !important; }
}
.amanta-card-selector{display:flex;align-items:center;gap:8px;min-width:0;padding:10px 14px;border:1px solid rgba(255,255,255,.85);border-radius:20px;background:rgba(255,255,255,.65);box-shadow:0 12px 40px -14px rgba(30,30,60,.14)}
.amanta-card-selector button{height:40px;border:1px solid #e1e4eb;border-radius:12px;background:#fff;color:#18181b;cursor:pointer}
.amanta-card-selector .amanta-card-selector-arrow{flex:none;width:40px;font-size:24px;line-height:1}
.amanta-card-selector .amanta-card-selector-arrow:disabled{opacity:.35;cursor:default}
.amanta-card-selector .amanta-card-selector-current{display:flex;flex:1;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:0 16px;text-align:left}
.amanta-card-selector-current>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.amanta-card-selector-current strong{font-size:14px}.amanta-card-selector-current span{color:#687080;font-size:12px}.amanta-card-selector-current .amanta-card-selector-debt{color:#dc2626;font-weight:600}
.amanta-card-selector .amanta-card-selector-list{flex:none;padding:0 15px;font-size:12px;font-weight:600}
.amanta-redesign-cards .amanta-card-table-header,.amanta-redesign-cards .amanta-card-table-row{grid-template-columns:minmax(105px,1fr) 86px 98px minmax(95px,1fr) 99px 110px 99px 114px 72px 145px!important}.amanta-card-table-header>*,.amanta-card-table-row>*{min-width:0;overflow:hidden;text-overflow:ellipsis}.amanta-card-table-header>*{font-size:9px!important;letter-spacing:.05em!important;white-space:normal}.amanta-card-table-row>button:first-child{white-space:nowrap}.amanta-card-table-row>div:last-child button{width:29px;height:29px;flex:none}.amanta-card-table-row>div:last-child{gap:3px;padding-inline:4px}
.amanta-card-picker-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(24,24,27,.44)}
.amanta-card-picker{width:min(900px,100%);max-height:min(80vh,700px);overflow:auto;border:1px solid #fff;border-radius:24px;background:#fff;box-shadow:0 25px 80px #18181b40}
.amanta-card-picker header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;padding:16px 20px;border-bottom:1px solid #e6e8ec;background:#fff}.amanta-card-picker h2{margin:0;font-size:19px;font-weight:600}.amanta-card-picker header button{width:34px;height:34px;border:1px solid #e6e8ec;border-radius:50%;background:#fff;font-size:21px;cursor:pointer}
.amanta-card-picker-list{padding:8px}.amanta-card-picker-list button{display:grid;grid-template-columns:1.1fr .8fr 1fr 1.1fr .8fr;gap:12px;align-items:center;width:100%;padding:13px 16px;border:0;border-bottom:1px solid #eceef1;background:#fff;text-align:left;color:#333;cursor:pointer}.amanta-card-picker-list button:hover,.amanta-card-picker-list button.is-selected{background:#f6f7f8}.amanta-card-picker-list button>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.amanta-card-selector-current span:nth-of-type(2),.amanta-card-selector-current span:nth-of-type(3){display:none}.amanta-card-picker-list button{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:1250px){.amanta-redesign-cards .amanta-card-table-header,.amanta-redesign-cards .amanta-card-table-row{grid-template-columns:minmax(120px,1fr) 100px 115px minmax(120px,1fr) 145px!important}.amanta-card-table-header>:nth-child(2),.amanta-card-table-header>:nth-child(3),.amanta-card-table-header>:nth-child(5),.amanta-card-table-header>:nth-child(7),.amanta-card-table-header>:nth-child(9),.amanta-card-table-row>:nth-child(2),.amanta-card-table-row>:nth-child(3),.amanta-card-table-row>:nth-child(5),.amanta-card-table-row>:nth-child(7),.amanta-card-table-row>:nth-child(9){display:none}}
.amanta-cheques-work-select{display:flex;align-items:center;gap:6px;min-width:0}.amanta-cheques-work-select>*:first-child{flex:1;min-width:0}.amanta-cheques-work-add{flex:none;min-width:36px;height:36px;padding:0 8px!important;border-radius:9px!important;font-size:13px!important}
.amanta-cheques-work-lines{display:grid;gap:9px;padding:14px 16px;border-top:1px solid #e7e9ee;background:#f8f9fa}.amanta-cheques-work-lines>strong{font-size:13px}.amanta-cheques-work-line{display:grid;grid-template-columns:minmax(0,1fr) 170px 36px;gap:8px}.amanta-cheques-work-line>*{min-width:0;height:38px}.amanta-cheques-work-line>button{padding:0!important}.amanta-cheques-work-lines>button{justify-self:start}
.amanta-cheques-work-summary{display:flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid #e0e5ed;border-radius:9px;background:#f7f8fa;color:#697386;font-size:13px}
.amanta-cheques-work-line input{width:100%;padding:0 10px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;text-align:right}
.amanta-cheques-inline-form>.amanta-cheques-work-lines{grid-column:1/-1;order:1;margin:0 16px 8px;border:1px solid #e7e9ee;border-radius:12px}.amanta-cheques-inline-form>p{grid-column:1;order:2}.amanta-cheques-inline-form>footer{order:3}
.amanta-residence-inline-entry{overflow:visible;padding:15px 18px;border:1px solid #ffffffd9;border-radius:22px;background:#ffffffa6;box-shadow:0 12px 40px -14px #1e1e3c24}.amanta-residence-inline-entry>div{max-height:none;overflow:visible;padding:0}.amanta-residence-inline-entry h2{margin-top:0;font-size:16px}.amanta-residence-inline-entry>div:first-child{margin-bottom:10px}.amanta-residence-inline-entry>div:first-child p:first-child{display:none}.amanta-residence-inline-entry>div:first-child>button{display:none}.amanta-residence-inline-discount>div>div:first-child{margin-bottom:10px}.amanta-residence-inline-discount>div>div:first-child p:first-child,.amanta-residence-inline-discount>div>div:first-child p:last-child{display:none}.amanta-residence-inline-discount>div>div:first-child button{display:none}.amanta-residence-inline-discount>div>div:nth-child(2){display:none}.amanta-residence-inline-entry .grid{gap:8px}.amanta-residence-inline-entry label>span{margin-bottom:5px;font-size:10px;letter-spacing:.05em}.amanta-residence-inline-entry input,.amanta-residence-inline-entry textarea{min-height:42px;padding:9px 12px;border-radius:11px}.amanta-residence-inline-entry textarea{height:42px;min-height:42px;resize:vertical}.amanta-residence-inline-entry .mt-4{margin-top:9px}.amanta-residence-inline-entry .mt-6{margin-top:10px}.amanta-residence-inline-entry .mt-2.text-xs{display:none}
@media(min-width:1300px){.amanta-residence-inline-entry .md\:grid-cols-2{grid-template-columns:repeat(4,minmax(0,1fr))}}
.amanta-residence-inline-entry>div:first-child p:first-child,.amanta-residence-inline-discount>div>div:first-child p:first-child,.amanta-residence-inline-discount>div>div:first-child p:last-child{display:revert}
.amanta-residence-inline-extra>div:first-child>div>p:first-child,.amanta-residence-inline-discount>div>div:first-child>div>p{display:none}
.amanta-residence-inline-discount>div>div:first-child>div>p{display:none!important}.amanta-residence-inline-entry button[aria-label="Limpiar formulario"]{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #e1e4ea;border-radius:11px;background:#fff;color:#59606c;font-size:22px;line-height:1}.amanta-residence-inline-entry button[aria-label="Limpiar formulario"]:hover{background:#f3f4f6}
@media(min-width:1150px){.amanta-residence-inline-discount .amanta-residence-discount-grid{grid-template-columns:1fr 1.3fr 1.3fr .85fr .85fr .85fr}.amanta-residence-inline-extra .amanta-residence-extra-grid{grid-template-columns:1fr 1.3fr 1.3fr 1fr .85fr .9fr}}
@media(min-width:800px) and (max-width:1149px){.amanta-residence-inline-discount .amanta-residence-discount-grid,.amanta-residence-inline-extra .amanta-residence-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Asistencia: la jornada y el calendario comparten el primer plano. */
.amanta-asistencia-layout > div:first-child {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.amanta-asistencia-layout > div:first-child > p:first-child {
  color: #8b8e97;
  letter-spacing: .02em;
  text-transform: none;
}
.amanta-asistencia-layout > div:first-child > h1 {
  margin-top: 0;
}
.amanta-asistencia-layout > div:first-child > p:last-child {
  margin-top: 0;
}
.amanta-asistencia-layout .amanta-asistencia-aviso {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border: 0;
  border-radius: 14px;
  line-height: 1.3;
}
.amanta-asistencia-layout .amanta-asistencia-aviso p {
  margin: 0;
  font-size: 12px;
}
.amanta-asistencia-layout > .amanta-asistencia-planilla,
.amanta-asistencia-layout > .amanta-asistencia-calendario {
  min-width: 0;
  order: 0;
  border-radius: 20px;
  box-shadow: 0 8px 22px -20px rgba(26, 32, 44, .32);
}
.amanta-asistencia-layout > .amanta-asistencia-planilla > div:first-child,
.amanta-asistencia-layout > .amanta-asistencia-calendario > div:first-child {
  display: none;
}
.amanta-asistencia-layout .amanta-asistencia-dia-nav {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0 !important;
  justify-content: center;
  overflow: hidden;
  font-size: 0 !important;
  gap: 0;
}
.amanta-asistencia-layout .amanta-asistencia-dia-nav svg {
  flex: none;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:first-child > div:first-child p {
  display: none;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:first-child > div:first-child h2 {
  margin: 0;
  font-size: 17px;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:first-child > div:nth-child(2) {
  gap: 5px;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:first-child > div:nth-child(2) > div:nth-child(2) {
  padding: 5px 10px;
  box-shadow: none;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:first-child > div:nth-child(2) > div:nth-child(2) > span {
  display: none;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:first-child > div:nth-child(2) > div:nth-child(2) p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.amanta-asistencia-planilla .amanta-asistencia-busqueda {
  grid-column: 1 / -1;
}
.amanta-asistencia-planilla .amanta-asistencia-busqueda > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .04em;
}
.amanta-asistencia-planilla .amanta-asistencia-total-horas {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f0f1f3;
  color: #222;
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: none;
}
.amanta-asistencia-planilla .amanta-asistencia-busqueda input {
  height: 38px;
  padding-top: 0;
  padding-bottom: 0;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:nth-child(2) label > span {
  margin-bottom: 5px;
}
.amanta-asistencia-planilla > div:nth-child(2) > div > div:nth-child(2) label > div:not(.relative) {
  height: 38px;
}
.amanta-asistencia-planilla .amanta-asistencia-guardada {
  min-width: 0;
}
.amanta-asistencia-planilla .amanta-asistencia-acciones {
  overflow: visible;
}
.amanta-asistencia-planilla .amanta-asistencia-acciones > div {
  min-width: 0;
  flex-wrap: wrap;
}
.amanta-asistencia-planilla .amanta-asistencia-guardada th,
.amanta-asistencia-planilla .amanta-asistencia-guardada td {
  padding: 8px 7px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.amanta-asistencia-calendario > div:nth-child(2) {
  display: block;
}
.amanta-asistencia-calendario > div:nth-child(2) > div {
  min-width: 0;
  border: 0;
  padding: 12px 16px;
  background: white;
}
.amanta-asistencia-calendario > div:nth-child(2) > div:first-child > p {
  display: none;
}
.amanta-asistencia-calendario > div:nth-child(2) h2 {
  font-size: 16px;
  color: #222;
}
.amanta-asistencia-calendario > div:nth-child(3) {
  padding: 12px 16px;
}
.amanta-asistencia-calendario > div:nth-child(3) button {
  border-radius: 12px;
}
@media (min-width: 1300px) {
  .amanta-asistencia-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr);
    align-items: stretch;
    gap: 14px;
  }
  .amanta-asistencia-layout > :not(.amanta-asistencia-planilla):not(.amanta-asistencia-calendario) {
    grid-column: 1 / -1;
  }
  .amanta-asistencia-layout > .amanta-asistencia-planilla {
    grid-column: 1;
    grid-row: auto;
  }
  .amanta-asistencia-layout > .amanta-asistencia-calendario {
    grid-column: 2;
    grid-row: auto;
  }
}
@media (max-width: 1250px) {
  .amanta-bank-statement-filters {
    grid-template-columns: minmax(140px, 1.5fr) repeat(3, minmax(72px, 1fr)) minmax(130px, 1fr) 38px;
    gap: 6px;
  }
  .amanta-bank-native-sticky .amanta-bank-ledger {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }
  .amanta-bank-native-sticky .amanta-bank-ledger th,
  .amanta-bank-native-sticky .amanta-bank-ledger td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .amanta-bank-native-sticky .amanta-bank-ledger td:nth-child(3) small {
    display: none;
  }
}

/* Gerencia General: aviso, áreas y pestañas siguen la jerarquía aprobada. */
.org-redesign {
  gap: 14px;
  color: #18181b;
}
.org-redesign > .org-card:first-child,
.org-redesign > .org-card:nth-child(2) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.org-redesign > .org-card:first-child {
  display: flex;
  flex-direction: column;
}
.org-redesign .org-eyebrow {
  margin: 0;
  color: #8b8e97;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.org-redesign h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}
.org-redesign > .org-card:first-child > .org-hint {
  margin: 0;
  line-height: 1.35;
}
.org-redesign .org-note {
  order: 1;
  display: flex;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px !important;
  padding: 12px 18px;
  border-radius: 16px;
  background: #e7f0ff;
  color: #1e40af;
}
.org-redesign .org-note > strong,
.org-redesign .org-note > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}
.org-redesign .org-note > p { flex: 1; }
.org-redesign .org-note > button {
  margin-left: auto;
  white-space: nowrap;
  border-radius: 999px;
}
.org-redesign .org-link-grid {
  order: 2;
  gap: 12px;
  margin-top: 12px;
}
.org-redesign .org-link-grid a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 12px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 24px;
  background: rgba(255,255,255,.74);
  color: #222;
  text-align: left;
  box-shadow: 0 8px 22px -19px rgba(30,30,60,.3);
}
.org-redesign .org-module-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff1ed;
  color: #e84420;
  font-size: 20px;
}
.org-redesign .org-module-title {
  align-self: end;
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.org-redesign .org-module-detail {
  align-self: start;
  overflow: hidden;
  color: #8b8e97;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.org-redesign .org-tabs {
  display: flex;
  gap: 3px;
  width: 100%;
  margin: 0 0 14px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: #e9ebef;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.org-redesign .org-tabs button,
.org-redesign .org-tabs button[aria-selected="true"] {
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f6672;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.org-redesign .org-tabs button[aria-selected="true"] {
  background: #fff;
  color: #18181b;
  font-weight: 700;
  box-shadow: 0 3px 8px -5px rgba(0,0,0,.35);
}
.org-redesign > .org-card:nth-child(2) > .org-grid > section {
  min-width: 0;
  min-height: 420px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 24px;
  background: rgba(255,255,255,.75);
}
.org-redesign .org-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.org-redesign .org-section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.org-redesign .org-section-head button {
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.org-redesign .org-table th {
  background: transparent;
  color: #8b8e97;
  font-size: 11px;
  text-transform: uppercase;
}
.org-redesign .org-table td { font-size: 13px; }
@media (max-width: 1100px) {
  .org-redesign .org-link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .org-redesign .org-note { flex-wrap: wrap; }
}
.amanta-physical-progress-ring {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1f2937;
  font-size: 10px;
  font-weight: 700;
  background: radial-gradient(closest-side, #fff 72%, transparent 74%), conic-gradient(var(--progress-color) var(--progress), #e5e7eb 0);
}
.amanta-cert-filtered-total {
  display: flex;
  min-height: 46px;
  align-self: end;
  flex-direction: column;
  justify-content: center;
  padding: 3px 12px;
  border: 1px solid #dce1e8;
  border-radius: 12px;
  background: #f7f8fa;
  color: #667085;
  font-size: 11px;
  line-height: 1.2;
}
.amanta-cert-filtered-total strong {
  color: #202127;
  font-size: 15px;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .amanta-cert-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* Administración: inicio con indicadores y dos paneles de lectura. */
.amanta-adm-home {
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(280px, 1fr);
  align-items: start;
  gap: 14px;
}
.amanta-adm-home > :not(.amanta-adm-home-alerts):not(.amanta-adm-home-debt) {
  grid-column: 1 / -1;
}
.amanta-adm-home-header {
  min-height: 74px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.amanta-adm-home-header > div:first-child,
.amanta-adm-home-header > div.relative > div:first-child {
  display: none;
}
.amanta-adm-home-header > div.relative {
  min-height: 74px;
  gap: 12px;
}
.amanta-adm-home-header > div.relative > div:nth-child(1) {
  display: none;
}
.amanta-adm-home-header p.text-white\/55 {
  color: #8b909a !important;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
}
.amanta-adm-home-header p.text-white {
  color: #202127 !important;
  font-size: 28px;
  line-height: 1.12;
}
.amanta-adm-home-subtitle {
  margin-top: 3px;
  color: #7b8390;
  font-size: 13px;
}
.amanta-adm-home-header .ml-auto.flex {
  display: none;
}
.amanta-adm-home-pending {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-left: auto;
  padding: 0 19px;
  border: 1px solid #e2e5eb;
  border-radius: 999px;
  background: #fff;
  color: #202127;
  font-size: 13px;
  font-weight: 600;
}
.amanta-adm-home-kpis {
  gap: 12px;
}
.amanta-adm-home-kpis > a {
  min-height: 103px;
  padding: 15px 20px;
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.66);
  box-shadow: 0 10px 28px -18px rgba(30,30,60,.2);
}
.amanta-adm-home-kpis > a:first-child { background: linear-gradient(115deg,#fff0f0,#fff); }
.amanta-adm-home-kpis > a:last-child { background: linear-gradient(115deg,#eafff4,#fff); }
.amanta-adm-home-kpis > a > div:first-child > div,
.amanta-adm-home-kpis > a > div:first-child > svg { display: none; }
.amanta-adm-home-kpis > a > p { margin-top: 8px; font-size: 24px; }
.amanta-adm-home-kpis > a > div:last-child { margin-top: 4px; }
.amanta-adm-home-alerts,
.amanta-adm-home-debt {
  min-height: 600px;
  align-self: stretch;
  padding: 18px;
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.65);
}
.amanta-adm-home-debt { grid-column: 2; }
/* Deuda por proveedor (maqueta 13): nombre e importe, barra proporcional y facturas. */
.amanta-debt-list { display: flex; flex-direction: column; gap: 4px; }
.amanta-debt-item { border-radius: 16px; }
.amanta-debt-item:has(> div) { background: rgba(255,255,255,.7); }
.amanta-debt-row {
  display: flex; flex-direction: column; gap: 6px; width: 100%;
  padding: 9px 10px; border-radius: 14px; text-align: left;
  background: transparent; transition: background-color .15s;
}
.amanta-debt-row:hover { background: rgba(255,255,255,.75); }
.amanta-debt-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.amanta-debt-top b { font-size: 13px; font-weight: 600; color: #18181b; }
.amanta-debt-amount { flex: none; font-size: 13px; font-weight: 600; color: #dc2626; }
.amanta-debt-bar { display: block; height: 6px; border-radius: 999px; background: rgba(0,0,0,.06); overflow: hidden; }
.amanta-debt-bar > i { display: block; height: 100%; border-radius: 999px; background: #e84420; }
.amanta-debt-meta { display: flex; align-items: center; gap: 2px; font-size: 11.5px; color: #a1a4ab; }
/* Pestañas segmentadas compartidas (maquetas: Alertas de pago, Tabla/Calendario, etc.). */
.amanta-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.05); flex-wrap: nowrap; }
.amanta-seg-item {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px;
  border: 0; border-radius: 999px; background: transparent; color: #6b6e76;
  font-size: 12.5px; white-space: nowrap; cursor: pointer;
}
.amanta-seg-item em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(0,0,0,.07); }
.amanta-seg-item.is-active { background: #fff; color: #18181b; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.amanta-kpi-label { font-size: 12px; color: #8b8e97; letter-spacing: 0; text-transform: none; font-weight: 400; }
.amanta-kpi-prefix { margin-right: 6px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: #a1a4ab; }
.amanta-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.amanta-th { padding: 8px 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #a1a4ab; }
@media (max-width: 1100px) {
  .amanta-adm-home { grid-template-columns: 1fr; }
  .amanta-adm-home-alerts,.amanta-adm-home-debt { grid-column: 1; min-height: auto; }
  .amanta-adm-home-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
/* RRHH: directorio compacto con identidad visible. */
.amanta-personnel-directory > header {
  padding: 0 8px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.amanta-personnel-directory > header > div:first-child {
  align-items: center;
  gap: 10px;
}
.amanta-personnel-directory > header h1 { margin-top: 2px; font-size: 28px; }
.amanta-personnel-directory > header > div:nth-child(2) { margin-top: 14px; }
.amanta-personnel-directory > header > div:nth-child(2) > div {
  min-height: 84px;
  padding: 15px 20px;
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.65);
  box-shadow: 0 9px 28px -18px rgba(30,30,60,.2);
}
.amanta-personnel-directory > header > div:nth-child(2) > div:nth-child(2) {
  background: linear-gradient(110deg,#e8fff1,#fff);
}
.amanta-personnel-directory > header > div:last-child { margin-top: 12px; }
.amanta-personnel-directory > section:last-child { min-height: 560px; }
.amanta-personnel-directory table th {
  padding-top: 10px;
  padding-bottom: 10px;
  border-right: 0;
  font-size: 10.5px;
  letter-spacing: .04em;
}
.amanta-personnel-directory table td {
  padding-top: 10px;
  padding-bottom: 10px;
  border-right: 0;
}
.amanta-personnel-directory table td .tracking-\[0\.18em\] { letter-spacing: .03em; }
.amanta-personnel-identity { position: relative; padding-left: 51px !important; }
.amanta-person-avatar {
  position: absolute;
  left: 8px;
  top: 50%;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #eae6e2;
  color: #6f6258;
  font-size: 10px;
  font-weight: 700;
}
.amanta-personnel-identity > div:nth-of-type(3) { display: none; }
@media (max-width: 1100px) {
  .amanta-personnel-identity { padding-left: 7px !important; }
  .amanta-person-avatar { display: none; }
}
/* Resumen de caja: jerarquía compacta de las maquetas, cifras del libro real. */
.amanta-cash-overview{gap:14px}
.amanta-cash-overview>header{align-items:center;gap:12px}
.amanta-cash-overview h1{font-size:27px;line-height:1.1;margin:3px 0 0}
.amanta-cash-overview .amanta-cash-kicker{margin:0;font-size:11px;font-weight:700;letter-spacing:.14em}
.amanta-cash-overview>header .amanta-cash-actions button{border-radius:22px;min-height:40px;padding:8px 15px;color:#252b36;font-weight:600}
.amanta-cash-overview>header .amanta-cash-actions .amanta-cash-add{color:white}
.amanta-cash-overview .amanta-cash-totals{gap:12px;padding:0;border:0}
.amanta-cash-overview .amanta-cash-totals>div{min-width:0;min-height:100px;border:1px solid #fff;border-radius:24px;background:#fff;padding:16px 20px;box-shadow:0 10px 25px #252b360a}
.amanta-cash-overview .amanta-cash-totals>div:first-child{background:linear-gradient(110deg,#e9fff4,#fff)}
.amanta-cash-overview .amanta-cash-totals>div:nth-child(2){background:linear-gradient(110deg,#fff0f0,#fff)}
.amanta-cash-overview .amanta-cash-totals h2{font-size:12px;font-weight:500;margin:0 0 8px}
.amanta-cash-overview .amanta-cash-totals .amanta-cash-value{font-size:clamp(19px,1.7vw,27px);font-weight:750;white-space:nowrap}
.amanta-cash-overview .amanta-cash-note{margin:-4px 4px 0;font-size:11px;color:#758090}
.amanta-cash-overview :is(.amanta-cash-accounts,.amanta-cash-cards){border-color:#fff;border-radius:25px;box-shadow:0 12px 28px #252b360a;padding:14px 18px 12px}
.amanta-cash-overview .amanta-cash-accounts>h2,.amanta-cash-overview .amanta-cash-cards>h2{font-size:16px;color:#202632;font-weight:700;margin:5px 0 9px}
.amanta-cash-overview .amanta-cash-cards>p{margin:0 0 10px;font-size:11px}
.amanta-cash-overview th{background:#fff;text-transform:uppercase;letter-spacing:.055em;color:#8c95a2;font-size:10px}
.amanta-cash-overview :is(td,th){padding:10px 8px;border-color:#edf0f3}
.amanta-cash-overview td strong{font-size:12px;font-weight:650}
.amanta-cash-overview td small{font-size:10px;margin-top:2px}
.amanta-cash-overview .amanta-cash-actions button{padding:6px 9px}
@media(max-width:1100px){.amanta-cash-overview .amanta-cash-totals{gap:8px}.amanta-cash-overview .amanta-cash-totals>div{padding:13px;min-height:88px}.amanta-cash-overview :is(.amanta-cash-accounts,.amanta-cash-cards){padding:12px}}
/* Caja de RRHH: resumen visible y total ligado al filtro, sin alterar asientos. */
.amanta-sector-cash{gap:13px}
.amanta-sector-cash>header h1{font-size:27px;margin:2px 0}
.amanta-sector-cash>header p:first-child{font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:700;color:#eb4b2c}
.amanta-sector-cash>header p:last-child{font-size:12px;margin:4px 0 0}
.amanta-sector-cash-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.amanta-sector-cash-summary>div{display:grid;gap:8px;padding:15px 18px;background:#fff;border:1px solid #fff;border-radius:20px;min-width:0;box-shadow:0 8px 20px #252b3608}
.amanta-sector-cash-summary>div:first-child{background:linear-gradient(110deg,#ebfff4,#fff)}
.amanta-sector-cash-summary>div:nth-child(2){background:linear-gradient(110deg,#fff0f0,#fff)}
.amanta-sector-cash-summary span{font-size:12px;color:#77818f}
.amanta-sector-cash-summary strong{font-size:clamp(19px,1.7vw,27px);white-space:nowrap}
.amanta-sector-cash-balances{display:flex;gap:8px;overflow-x:auto}
.amanta-sector-cash-balances>div{display:flex;gap:10px;align-items:center;padding:6px 12px;text-align:left;border-radius:10px;box-shadow:none}
.amanta-sector-cash-balances span{font-size:11px;color:#6f7884}
.amanta-sector-cash-balances strong{font-size:12px}
.amanta-sector-cash-filters{grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) minmax(150px,1fr) auto minmax(120px,.7fr);align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #edf0f3}
.amanta-sector-cash-filter-total{height:46px;display:grid;align-content:center;justify-items:center;border:1px solid #edf0f3;border-radius:10px;min-width:0}
.amanta-sector-cash-filter-total span{font-size:9px;color:#7e8897;letter-spacing:.04em;text-transform:uppercase}
.amanta-sector-cash-filter-total strong{font-size:14px;white-space:nowrap}
.amanta-sector-cash :is(th,td){padding:9px 8px;font-size:12px;line-height:1.25}
.amanta-sector-cash-history{min-height:470px;border-color:#fff;border-radius:22px;box-shadow:0 12px 25px #252b3608}
.amanta-sector-cash-table{max-height:55vh;overflow-y:auto}
@media(max-width:1100px){.amanta-sector-cash-filters{grid-template-columns:minmax(180px,2fr) minmax(110px,1fr) minmax(130px,1fr) auto}.amanta-sector-cash-filter-total{grid-column:1/-1}.amanta-sector-cash-summary>div{padding:12px}.amanta-sector-cash-summary strong{font-size:18px}}
.amanta-adm-home{align-items:start}
.amanta-adm-home-alerts{max-height:calc(100vh - 245px);min-height:500px;overflow:auto}
.amanta-adm-home-alerts :is(thead,[role="rowgroup"]:first-child){position:sticky;top:0;z-index:3;background:#fff}
.amanta-adm-home-debt{align-self:start}
/* Movilidad: indicadores reales encima del gráfico y tabla de lectura rápida. */
.amanta-mobility-redesign{display:grid;gap:13px}
.amanta-mobility-redesign>div:first-child h1{margin-top:3px;font-size:27px}
.amanta-mobility-redesign>div:first-child p:last-child{margin-top:3px;line-height:1.35}
.amanta-mobility-redesign>div:first-child>a{border-radius:22px;padding:10px 16px}
.amanta-mobility-new{border:0;border-radius:22px;padding:10px 18px;background:#e94626;color:white;font-weight:700;font-size:13px;white-space:nowrap}
.amanta-mobility-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.amanta-mobility-kpis>div{min-width:0;min-height:82px;display:grid;align-content:center;gap:8px;border:1px solid #fff;border-radius:22px;background:#fff;padding:13px 18px;box-shadow:0 8px 20px #252b3608}
.amanta-mobility-kpis>div:last-child{background:linear-gradient(110deg,#fff1f1,#fff)}
.amanta-mobility-kpis span{font-size:12px;color:#788393}
.amanta-mobility-kpis strong{font-size:23px;line-height:1.1;white-space:nowrap}
.amanta-mobility-redesign>section:not(.amanta-mobility-kpis){border-color:#fff;border-radius:24px;box-shadow:0 8px 20px #252b3608}
.amanta-mobility-redesign>section:not(.amanta-mobility-kpis)>div:first-child{background:#fff;padding:12px 18px}
.amanta-mobility-redesign>section:nth-of-type(2)>div:nth-child(2){height:170px}
.amanta-mobility-redesign>section:not(.amanta-mobility-kpis) [class*="border-r"]{border-right-color:#f0f2f5}
@media(max-width:1100px){.amanta-mobility-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.amanta-mobility-redesign>div:first-child{flex-wrap:wrap}}
/* Inventario: las categorías se consultan horizontalmente; solo abre el detalle elegido. */
.amanta-inventory-redesign{display:grid;gap:13px}
.amanta-inventory-redesign>div:first-child h1{margin-top:3px;font-size:27px}
.amanta-inventory-redesign>div:first-child p:last-child{margin-top:3px;line-height:1.35}
.amanta-inventory-base{border-color:#fff;border-radius:24px;box-shadow:0 10px 24px #252b3609}
.amanta-inventory-base>div:first-child{background:#fff;padding:11px 17px}
.amanta-inventory-category-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:11px;padding:13px}
.amanta-inventory-category-cards>button{display:grid;gap:5px;min-height:85px;text-align:left;border:1px solid #e8ebf0;border-radius:18px;background:#fff;padding:12px 16px;color:#202632;box-shadow:0 5px 14px #252b3606}
.amanta-inventory-category-cards>button[aria-expanded="true"]{border-color:#ef9d8c;background:#fff7f5}
.amanta-inventory-category-cards strong{font-size:13px}
.amanta-inventory-category-cards span{font-size:12px;color:#687585}
.amanta-inventory-category-cards small{font-size:11px;color:#e94a2c;font-weight:650}
.amanta-inventory-base>div:not(:first-child):not(.amanta-inventory-category-cards)>div:first-child{background:#fbfcfd;border-left-width:3px}
@media(max-width:1100px){.amanta-inventory-category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Residencia Inicio: portada operativa compacta, datos y avisos reales. */
.amanta-res-home{display:grid;grid-template-columns:1.15fr .82fr 1fr;gap:13px;align-items:start}
.amanta-res-home>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-height:54px}
.amanta-res-home>header p{font-size:12px;color:#7b8795;margin:0}
.amanta-res-home>header h1{font-size:27px;line-height:1.2;margin:3px 0 0;color:#202632}
.amanta-res-home>header button{border:0;border-radius:22px;background:#eb4828;color:#fff;padding:10px 18px;font-size:12px;font-weight:700}
.amanta-res-home-top{display:contents}
.amanta-res-home-top>section,.amanta-res-home-alerts{min-width:0;min-height:110px;border:1px solid #fff;border-radius:24px;background:#fff;padding:16px 19px;box-shadow:0 8px 20px #252b3608}
.amanta-res-home-top>section{display:grid;align-content:center;gap:5px}
.amanta-res-home-top span{font-size:12px;color:#7d8795}
.amanta-res-home-top strong{font-size:20px;line-height:1.15;color:#222938;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.amanta-res-home-top small{font-size:11px;color:#687585}
.amanta-res-home-alerts{padding:12px 15px}
.amanta-res-home-alert-nav{display:flex;align-items:center;gap:5px;margin-bottom:8px}
.amanta-res-home-alert-nav>button{border:0;border-radius:18px;background:#f4f5f7;color:#687585;padding:6px 10px;font-size:11px;white-space:nowrap}
.amanta-res-home-alert-nav>button.active{background:#1f242c;color:#fff}
.amanta-res-home-bell{margin-left:auto;position:relative}
.amanta-res-home-bell>button{border:0;background:#fff1ee;border-radius:50%;width:30px;height:30px;font-size:13px}
.amanta-res-home-alert-content{max-height:48px;overflow:auto;font-size:11px}
.amanta-res-home-alert-content :is(h2,h3,p){font-size:11px;line-height:1.2;margin:0}
.amanta-res-home-alert-content>div{padding:0;gap:2px;align-items:flex-start;text-align:left}
.amanta-res-home-alert-content>div>div:first-child{display:none}
.amanta-res-home-alert-content .text-white{color:#222938}
.amanta-res-home-alert-content .text-white\/55,.amanta-res-home-alert-content .text-white\/70{color:#8793a3}
.amanta-res-home-progress{grid-column:1/-1;min-height:560px;border:1px solid #fff;border-radius:25px;background:#fff;padding:20px;box-shadow:0 10px 25px #252b3608}
.amanta-res-home-progress-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.amanta-res-home-progress-heading h2{font-size:16px;font-weight:700;margin:0;white-space:nowrap}
.amanta-res-home-progress-heading span{font-size:11px;color:#8993a0}
.amanta-res-home-progress-heading a{font-size:11px;color:#e94929;font-weight:700;margin-left:auto;white-space:nowrap}
.amanta-res-home-progress>input{width:min(530px,100%);height:40px;border:1px solid #e4e9f0;border-radius:22px;padding:0 16px;font-size:12px;background:#fff;margin-bottom:12px}
.amanta-res-home-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.amanta-res-home-progress-grid article{display:flex;gap:13px;align-items:center;min-width:0;min-height:96px;border:1px solid #f3f4f6;border-radius:22px;padding:12px 16px;box-shadow:0 5px 15px #252b3606}
.amanta-res-home-progress-ring{width:54px;height:54px;flex-shrink:0;display:grid;place-items:center;border-radius:50%}
.amanta-res-home-progress-ring b{width:43px;height:43px;display:grid;place-items:center;background:#fff;border-radius:50%;font-size:12px}
.amanta-res-home-progress-grid article>div{min-width:0;display:grid;justify-items:start;gap:3px}
.amanta-res-home-progress-grid strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.amanta-res-home-progress-grid small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#8993a0}
.amanta-res-home-progress-grid article>div>span{border-radius:20px;padding:2px 8px;font-size:10px}
.amanta-res-home-secondary{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.amanta-res-home-secondary>article{min-width:0}
@media(max-width:1100px){.amanta-res-home{grid-template-columns:repeat(2,minmax(0,1fr))}.amanta-res-home-alerts{grid-column:1/-1}.amanta-res-home-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Caja Residencia: resumen encima de la carga, sin perder campos ni historial. */
.amanta-res-cash-redesign{display:grid;gap:13px}
.amanta-res-cash-header h1{font-size:27px;line-height:1.15}
.amanta-res-cash-header p:last-child{margin:5px 0 0;font-size:12px;line-height:1.35}
.amanta-res-cash-kicker{font-size:12px;color:#7b8795;margin:0 0 3px}
.amanta-res-cash-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.amanta-res-cash-kpis>div{min-height:80px;display:grid;align-content:center;gap:5px;background:#fff;border:1px solid #fff;border-radius:22px;padding:12px 18px;box-shadow:0 8px 20px #252b3608}
.amanta-res-cash-kpis>div:first-child{background:linear-gradient(110deg,#fff0f0,#fff)}
.amanta-res-cash-kpis span{font-size:12px;color:#7b8795}
.amanta-res-cash-kpis strong{font-size:23px;line-height:1.1}
.amanta-res-cash-kpis small{font-size:11px;color:#d63e25}
.amanta-res-cash-redesign .amanta-residence-entry{border-radius:24px;border-color:#fff;box-shadow:0 8px 20px #252b3608}
.amanta-res-cash-redesign .amanta-residence-entry-heading{padding:12px 18px;background:#fff}
.amanta-res-cash-redesign .amanta-residence-entry-heading h2{font-size:16px;margin:0}
.amanta-res-cash-redesign .amanta-residence-entry-heading>div:first-child p{display:none}
.amanta-res-cash-redesign .amanta-residence-entry-heading>div:last-child{display:flex;gap:8px;align-items:center}
.amanta-res-cash-redesign .amanta-residence-entry-heading>div:last-child p{margin:0;font-size:12px}
.amanta-res-cash-redesign .amanta-residence-entry-heading>div:last-child p:last-child{font-size:16px}
.amanta-res-cash-redesign .amanta-residence-expense>section:not(.amanta-residence-entry){border-radius:24px;border-color:#fff;box-shadow:0 8px 20px #252b3608}
.amanta-res-cash-history{min-height:480px}
.amanta-res-cash-history>div:first-child{background:#fff;padding:12px 17px;gap:10px}
.amanta-res-cash-history>div:first-child h3{font-size:15px}
.amanta-res-cash-history>div:first-child p{font-size:11px;line-height:1.25}
.amanta-res-cash-history .min-w-\[1080px\]>div>div{min-height:46px}
.amanta-res-cash-history .min-w-\[1080px\]>div>div>div{padding:7px 5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.amanta-res-cash-history .min-w-\[1080px\]>div>div>div :is(span,p){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.amanta-res-cash-kpis>div{padding:10px}.amanta-res-cash-kpis strong{font-size:18px}}
/* Adelantos: indicadores arriba y formulario de una línea, con la tabla intacta. */
.amanta-res-advance-page{display:grid;gap:13px}
.amanta-res-advance-page>div:first-child h1{margin-top:4px;font-size:27px}
.amanta-res-advance-redesign{display:grid;gap:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.amanta-res-advance-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:13px}
.amanta-res-advance-kpis>div{display:grid;align-content:center;gap:7px;min-height:84px;padding:14px 19px;border:1px solid #fff;border-radius:22px;background:#fff;box-shadow:0 8px 20px #252b3608}
.amanta-res-advance-kpis>div:nth-child(2){background:linear-gradient(110deg,#eafff3,#fff)}
.amanta-res-advance-kpis>div:last-child{background:linear-gradient(110deg,#fff0f0,#fff)}
.amanta-res-advance-kpis span{font-size:12px;color:#7e8997}
.amanta-res-advance-kpis strong{font-size:22px;white-space:nowrap}
.amanta-res-advance-redesign>div:nth-child(2){border:1px solid #fff;border-radius:23px 23px 0 0;background:#fff;padding:12px 18px}
.amanta-res-advance-redesign>div:nth-child(2)>div:first-child>div:first-child{display:none}
.amanta-res-advance-redesign>div:nth-child(2) h2{font-size:16px}
.amanta-res-advance-redesign>div:nth-child(2) p:last-child{font-size:15px}
.amanta-res-advance-redesign>div:nth-child(3){background:#fff;border:1px solid #fff;border-top:0;border-radius:0 0 23px 23px;padding:12px 16px;grid-template-columns:120px minmax(145px,1.3fr) 125px 125px minmax(150px,1.4fr) auto;gap:9px}
.amanta-res-advance-redesign>div:nth-child(3)>div:last-child{grid-column:auto;align-self:end}
.amanta-res-advance-redesign>div:nth-child(3)>div:last-child button{white-space:nowrap}
.amanta-res-advance-redesign>div:nth-child(3) label{min-width:0}
.amanta-res-advance-redesign>div:nth-child(3) :is(input,[role="combobox"]){min-width:0}
.amanta-res-advance-redesign>div:nth-child(3) label+label{border:0}
.amanta-res-advance-redesign>div:nth-child(3) :is(input,[role="combobox"]){height:40px}
.amanta-res-advance-redesign>div:has(>div>input[placeholder="Buscar por personal, cargo o motivo"]){border:1px solid #fff;border-bottom:0;border-radius:22px 22px 0 0;background:#fff;margin-top:13px}
.amanta-res-advance-redesign>div:has(>div.min-w-\[1080px\]){min-height:420px;background:#fff;border:1px solid #fff;border-top:0;border-radius:0 0 22px 22px}
@media(max-width:1250px){.amanta-res-advance-redesign>div:nth-child(3){grid-template-columns:repeat(3,minmax(0,1fr))}.amanta-res-advance-redesign>div:nth-child(3)>div:last-child{grid-column:1/-1}.amanta-res-advance-kpis strong{font-size:18px}}
/* Gastos indirectos: proyección real a la izquierda y meses navegables a la derecha. */
.amanta-indirect-redesign{display:grid;gap:13px}
.amanta-indirect-redesign>div:first-child h1{margin-top:4px;font-size:27px}
.amanta-indirect-redesign>div:first-child p:last-child{margin-top:4px;line-height:1.3;font-size:12px}
.amanta-indirect-redesign>div:first-child>div:last-child>div{display:none}
.amanta-indirect-summary{display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:13px;border:0;background:transparent;box-shadow:none;overflow:visible}
.amanta-indirect-kpis{grid-row:1/3;display:grid;gap:12px}
.amanta-indirect-kpis>div{display:grid;align-content:center;gap:5px;min-height:84px;border:1px solid #fff;border-radius:22px;background:#fff;padding:14px 19px;box-shadow:0 8px 20px #252b3608}
.amanta-indirect-kpis>div:first-child{background:linear-gradient(110deg,#fff0f0,#fff)}
.amanta-indirect-kpis span{font-size:12px;color:#7e8997}
.amanta-indirect-kpis strong{font-size:22px;color:#d63f27}
.amanta-indirect-kpis small{font-size:11px;color:#8b96a5}
.amanta-indirect-summary>div:nth-child(2){border-radius:22px 22px 0 0;border:1px solid #fff;border-bottom:0;background:#fff;padding:12px 17px 0}
.amanta-indirect-summary>div:nth-child(2)>p:last-child{display:none}
.amanta-indirect-summary>div:nth-child(2)>div>p:first-child{font-size:15px;color:#202632;letter-spacing:0;text-transform:none}
.amanta-indirect-summary>div:nth-child(2)>div>p:last-child{display:none}
.amanta-indirect-bars{display:flex;gap:10px;overflow-x:auto;min-width:0;height:128px;padding:8px 13px 12px;border:1px solid #fff;border-top:0;border-radius:0 0 22px 22px;background:#fff;scrollbar-width:thin}
.amanta-indirect-month{position:relative;flex:0 0 92px;min-width:92px;display:flex;align-items:end;justify-content:center;padding:0 0 3px}
.amanta-indirect-month::before{content:"";position:absolute;left:29px;bottom:23px;width:35px;height:var(--bar-pct);max-height:82px;border-radius:11px 11px 0 0;background:#f6cdc5}
.amanta-indirect-month:nth-child(7)::before{background:#e94929}
.amanta-indirect-month>div{position:relative;z-index:1;align-self:end}
.amanta-indirect-month span{font-size:10px;letter-spacing:0}
.amanta-indirect-month p,.amanta-indirect-month div>span:nth-child(2){display:none}
.amanta-indirect-detail{border-color:#fff;border-radius:24px;min-height:540px;box-shadow:0 8px 22px #252b3608}
.amanta-indirect-detail>div:first-child{background:#fff;padding:12px 16px}
.amanta-indirect-detail>div:first-child>div:first-child>div:first-child p:first-child{font-size:15px;color:#202632;letter-spacing:0;text-transform:none}
.amanta-indirect-detail>div:first-child>div:first-child>div:first-child p:last-child{display:none}
@media(max-width:1100px){.amanta-indirect-summary{grid-template-columns:210px minmax(0,1fr)}.amanta-indirect-kpis strong{font-size:17px}}
/* Configuración laboral: vista previa de las tres reglas que existen realmente. */
.amanta-labor-redesign{display:grid;gap:13px}
.amanta-labor-redesign>div:first-child h1{margin-top:4px;font-size:27px}
.amanta-labor-redesign>div:first-child p:last-child{margin-top:4px;line-height:1.35;font-size:12px}
.amanta-labor-panels{display:grid;grid-template-columns:1.35fr 1fr;gap:13px;align-items:stretch}
.amanta-labor-panels>section{min-height:460px;background:#fff;border:1px solid #fff;border-radius:24px;box-shadow:0 10px 24px #252b3608}
.amanta-labor-panels>section:first-child>div:first-child{background:#fff;border:0;padding:18px 20px 11px}
.amanta-labor-panels>section:first-child>div:first-child>div:first-child{display:none}
.amanta-labor-panels>section:first-child>div:nth-child(2){background:#fff;border-bottom:1px solid #edf0f3;margin:0 18px}
.amanta-labor-panels>section:first-child>div:nth-child(n+3){border-bottom-color:#edf0f3;margin:0 18px;min-height:58px;align-items:center}
.amanta-labor-panels>section:first-child>div:nth-child(n+3)>div{border:0;padding:11px;font-size:12px}
.amanta-labor-panels>section:first-child>div:nth-child(n+3) input{margin:6px 10px;height:38px;width:calc(100% - 20px)!important;border:1px solid #d8dee8!important;border-radius:12px;padding:7px 12px;background:#fff!important}
.amanta-labor-preview{padding:20px}
.amanta-labor-preview h2{font-size:16px;font-weight:700;color:#202632}
.amanta-labor-preview>p{font-size:12px;color:#8893a1;line-height:1.4;margin:9px 0 17px}
.amanta-labor-preview>div{display:flex;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid #eff1f4;font-size:13px}
.amanta-labor-preview>div span{color:#75808f}
.amanta-labor-preview>div strong{color:#202632;white-space:nowrap}
@media(max-width:1100px){.amanta-labor-panels{grid-template-columns:1fr}.amanta-labor-panels>section{min-height:280px}}
/* Ejecución: carga y consulta compactas, con las acciones originales. */
.amanta-execution-redesign{display:grid;gap:13px}
.amanta-execution-redesign>div:first-child h1{margin-top:3px;font-size:27px}
.amanta-execution-redesign>div:first-child p:last-child{margin-top:4px;font-size:12px}
.amanta-execution-import{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:22px;background:#e9eefc;color:#26448d;padding:10px 16px;font-size:12px;font-weight:700;white-space:nowrap}
.amanta-execution-redesign>section{border:1px solid #fff;border-radius:24px;background:#fff;box-shadow:0 8px 20px #252b3608}
.amanta-execution-redesign>section:first-of-type>div:first-child{padding:11px 17px;align-items:center}
.amanta-execution-redesign>section:first-of-type>div:first-child>div>div:first-child{display:none}
.amanta-execution-redesign>section:first-of-type>div:first-child h2{font-size:16px}
.amanta-execution-redesign>section:first-of-type>div:first-child p{display:none}
.amanta-execution-redesign>section:first-of-type .min-w-\[1180px\]>div:first-child{background:#fff}
.amanta-execution-redesign>section:first-of-type .min-w-\[1180px\]>div:nth-child(2){min-height:48px}
.amanta-execution-redesign>section:first-of-type .min-w-\[1180px\]>div:nth-child(2) :is(input,[role="combobox"]){font-size:12px}
.amanta-execution-redesign>section:nth-of-type(2){min-height:480px}
.amanta-execution-redesign>section:nth-of-type(2)>div:first-child{background:#fff;padding:12px 17px}
.amanta-res-payments-page{display:flex;flex-direction:column;gap:14px}
.amanta-res-payments-page>.amanta-res-payments-header{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;transition:none}
.amanta-res-payments-header>div:first-child{display:none}
.amanta-res-payments-header>.px-6.py-6{padding:0 4px}
.amanta-res-payments-header .space-y-5{display:flex;flex-direction:column;gap:12px}
.amanta-res-payments-header .space-y-5>div:first-child p:first-child{color:#757b88;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
.amanta-res-payments-header .space-y-5>div:first-child h1{margin-top:1px;font-size:28px;line-height:1.15}
.amanta-res-payments-header .space-y-5>div:first-child p:last-child{margin-top:3px;max-width:none;font-size:12px;line-height:1.4}
.amanta-res-payments-page>div.flex.flex-col.gap-5{gap:14px}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:first-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:first-child{border:0;background:transparent}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:first-child>.grid,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:first-child>.grid{gap:12px;background:transparent}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:first-child>.grid>div,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:first-child>.grid>div{min-height:95px;padding:15px 18px;border:1px solid #fff;border-radius:23px;background:#ffffffa6;box-shadow:0 12px 40px -14px #1e1e3c24}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:first-child>.grid>div:first-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:first-child>.grid>div:last-child{background:linear-gradient(110deg,#fff1f0,#ffffffa6)}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:first-child>.grid>div p:first-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:first-child>.grid>div p:first-child{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500;color:#737b8a}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:first-child>.grid>div p:nth-child(2),.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:first-child>.grid>div p:nth-child(2){margin-top:7px;color:#be2626;font-size:25px;line-height:1}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:first-child>.grid>div p:last-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:first-child>.grid>div p:last-child{margin-top:6px;font-size:11px;line-height:1.2}
.amanta-res-payments-extras .amanta-residence-inline-entry,.amanta-res-payments-descuentos .amanta-residence-inline-entry{padding:16px 18px}
.amanta-res-payments-extras .amanta-residence-inline-entry h2,.amanta-res-payments-descuentos .amanta-residence-inline-entry h2{font-size:15px}
.amanta-res-payments-extras .amanta-residence-inline-entry textarea,.amanta-res-payments-descuentos .amanta-residence-inline-entry textarea{height:42px;min-height:42px}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child{border:1px solid #fff;border-radius:24px;background:#ffffffa6;box-shadow:0 12px 40px -14px #1e1e3c24}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div>div:first-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child>div:first-child{padding:15px 18px 8px}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div>div:first-child p:first-child,.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div>div:first-child p:last-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child>div:first-child p:first-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child>div:first-child p:last-child{display:none}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div>div:first-child h2,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child>div:first-child h2{margin:0;font-size:16px}
@media(min-width:1280px){.amanta-res-payments-extras .amanta-residence-extra-grid{grid-template-columns:145px minmax(170px,1.2fr) minmax(190px,1.4fr) minmax(170px,1.2fr) minmax(130px,1fr)}.amanta-res-payments-descuentos .amanta-residence-discount-grid{grid-template-columns:145px minmax(180px,1.3fr) minmax(190px,1.3fr) minmax(145px,1fr) minmax(145px,1fr) minmax(140px,1fr)}.amanta-res-payments-extras .amanta-residence-inline-extra{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}.amanta-res-payments-extras .amanta-residence-inline-extra>div:first-child,.amanta-res-payments-extras .amanta-residence-inline-extra>.amanta-residence-extra-grid{grid-column:1/-1}.amanta-res-payments-extras .amanta-residence-inline-extra>div:nth-child(3){grid-column:1}.amanta-res-payments-extras .amanta-residence-inline-extra>div:last-child{grid-column:2;align-self:end}.amanta-res-payments-extras .amanta-residence-inline-extra textarea{width:100%}}
.amanta-res-payments-page .amanta-res-payments-kpis{overflow:visible;border:0;border-radius:0;background:transparent}
.amanta-res-payments-page .amanta-res-payments-kpis>.grid{gap:12px;background:transparent}
.amanta-res-payments-page .amanta-res-payments-kpis>.grid>div{min-height:98px;padding:15px 18px;border:1px solid #fff!important;border-radius:23px;background:#ffffffa6!important;box-shadow:0 12px 40px -14px #1e1e3c24}
.amanta-res-payments-extras .amanta-res-payments-kpis>.grid>div:first-child,.amanta-res-payments-descuentos .amanta-res-payments-kpis>.grid>div:last-child{background:linear-gradient(110deg,#fff0ee,#ffffffa6)!important}
.amanta-res-payments-page .amanta-res-payments-kpis>.grid>div>p:first-child{color:#737b8a;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
.amanta-res-payments-page .amanta-res-payments-kpis>.grid>div>p:nth-child(2){margin-top:6px;color:#be2626;font-size:24px;line-height:1.1}
.amanta-res-payments-page .amanta-res-payments-kpis>.grid>div>p:last-child{margin-top:4px;font-size:11px;line-height:1.25}
.amanta-res-payments-extras .amanta-res-extras-filter{grid-template-columns:minmax(200px,1fr) 135px 145px 150px 165px!important}
.amanta-res-payments-descuentos .amanta-res-discount-filter{grid-template-columns:minmax(230px,1fr) 150px 150px 165px!important}
.amanta-res-payments-page .amanta-res-filter-total{display:flex;align-items:center;justify-content:space-between;gap:7px;height:44px;padding:0 12px;border-radius:999px;background:#fff0f0;white-space:nowrap}
.amanta-res-payments-page .amanta-res-filter-total span{color:#7f8390;font-size:11px}
.amanta-res-payments-page .amanta-res-filter-total strong{color:#c12727;font-size:14px}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div>div:first-child p:first-child,.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div>div:first-child p:last-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child>div:first-child p:first-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child>div:first-child p:last-child{display:none!important}
.amanta-res-payments-extras>div.flex.flex-col.gap-5>div:last-child>div>div:first-child,.amanta-res-payments-descuentos>div.flex.flex-col.gap-5>div:last-child>div:first-child{align-items:center}
@media(max-width:1279px){.amanta-res-payments-extras .amanta-res-extras-filter,.amanta-res-payments-descuentos .amanta-res-discount-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}.amanta-res-payments-page .amanta-res-filter-total{min-width:0}}
.amanta-inventory-redesign,.amanta-execution-redesign{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)}
.amanta-inventory-redesign>section,.amanta-execution-redesign>section{min-width:0;max-width:100%}
.amanta-inventory-redesign>section .overflow-x-auto,.amanta-execution-redesign>section .overflow-x-auto{min-width:0;max-width:100%}
.amanta-res-home{min-width:0;max-width:100%}
@media(max-width:1100px){.amanta-res-home-secondary{grid-template-columns:minmax(0,1fr)}.amanta-res-home-secondary>article{overflow:hidden}}
@media(max-width:1400px){
  .amanta-res-home-secondary{grid-template-columns:minmax(0,1fr)}
  .amanta-res-home-secondary>article{overflow:hidden}
  .amanta-res-advance-redesign>div:nth-child(3){grid-template-columns:repeat(3,minmax(0,1fr))}
  .amanta-res-advance-redesign>div:nth-child(3)>div:last-child{grid-column:1/-1}
  .amanta-res-payments-extras .amanta-residence-extra-grid,.amanta-res-payments-descuentos .amanta-residence-discount-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .amanta-res-payments-extras .amanta-res-extras-filter,.amanta-res-payments-descuentos .amanta-res-discount-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .amanta-res-payments-extras .amanta-residence-inline-extra{display:block}
  .amanta-res-payments-page .amanta-res-filter-total{min-width:0}
}
.amanta-expense-accounts-redesign>div:first-child h1{margin-top:3px;font-size:27px}
.amanta-expense-accounts-redesign>div:first-child p:last-child{margin-top:3px;font-size:12px;line-height:1.3}
.amanta-expense-accounts-redesign>div:first-child button{height:42px;border-radius:999px;white-space:nowrap}
.amanta-expense-accounts-redesign>div:first-child button:first-child{border:1px solid #fff;background:#fff;color:#242a34}
.amanta-expense-accounts-redesign .amanta-expense-groups{overflow:hidden;border:1px solid #fff;border-radius:24px;background:#ffffffa6;box-shadow:0 12px 40px -14px #1e1e3c24}
.amanta-expense-accounts-redesign .amanta-expense-group-filters{border-bottom:0;gap:9px}
.amanta-expense-accounts-redesign .amanta-expense-group-filters :is(input,[role="combobox"]){border-radius:999px}
.amanta-expense-accounts-redesign .amanta-expense-group-total{border-radius:999px;background:#fff0f0}
.amanta-expense-accounts-redesign .amanta-expense-group-total strong{color:#c42b2b}
.amanta-expense-accounts-redesign .amanta-expense-general-row>td{background:#f7f8f9;font-weight:600;border-bottom:1px solid #edf0f3}
.amanta-expense-accounts-redesign .amanta-expense-general-row>td:first-child{border-left:3px solid #e84420}
.amanta-expense-accounts-redesign .amanta-expense-general-row td.amanta-bank-amount,.amanta-expense-accounts-redesign .amanta-expense-composition-row td.amanta-bank-amount{color:#d33232;font-weight:700}
.amanta-expense-accounts-redesign .amanta-expense-composition-row>td{padding:0 0 0 18px;background:#fff}
.amanta-expense-accounts-redesign .amanta-expense-composition-row>td>table thead{display:none}
.amanta-expense-accounts-redesign .amanta-expense-composition-row>td>table td{border-bottom:1px solid #eef0f3}
.amanta-expense-accounts-redesign .amanta-expense-group-actions .amanta-expense-group-add{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;overflow:hidden;color:transparent;font-size:0;border-radius:10px;background:#f1f2f4}
.amanta-expense-accounts-redesign .amanta-expense-group-actions .amanta-expense-group-add::before{content:"+";font-size:18px;color:#39404b}
@media(max-width:1100px){.amanta-expense-accounts-redesign>div:first-child{flex-wrap:wrap}}
.amanta-res-payments-quincena{display:grid;grid-template-columns:300px minmax(0,1fr);grid-auto-rows:min-content;gap:14px;min-width:0}
.amanta-res-payments-quincena>.amanta-res-payments-header,.amanta-res-payments-quincena>.amanta-res-payments-content,.amanta-res-payments-quincena .amanta-res-payments-header>.px-6.py-6,.amanta-res-payments-quincena .amanta-res-payments-header .space-y-5,.amanta-res-payments-quincena .amanta-res-period-layout,.amanta-res-payments-quincena .amanta-res-payments-content-body{display:contents}
.amanta-res-payments-quincena .amanta-res-payments-title{grid-column:1/-1;grid-row:1;position:relative;min-height:78px;padding-right:180px}
.amanta-res-payments-quincena .amanta-res-payments-history-button{position:absolute;top:11px;right:0;height:40px;padding:0 18px;border:1px solid #fff;border-radius:999px;background:#fff;color:#252a33;font-size:12px;font-weight:600;box-shadow:0 5px 13px #252b3608}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) 285px;grid-template-rows:auto auto auto;gap:3px 14px;min-height:118px;padding:16px 19px;border:1px solid #fff;border-radius:23px;background:#fff;box-shadow:0 8px 20px #252b3608}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>p:first-child{grid-column:1;grid-row:1;color:#858e9d;font-size:11px;letter-spacing:0;text-transform:none}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>div:nth-child(2){grid-column:1;grid-row:2;min-width:0;align-items:center}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>div:nth-child(2) h2{font-size:17px;line-height:1.2}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>div:nth-child(3){grid-column:2;grid-row:1/4;display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:88px;padding:12px 17px;border:1px solid #fff;border-radius:20px;background:linear-gradient(110deg,#fff0f0,#fff);box-shadow:0 6px 17px #252b3608}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>div:nth-child(3)>span:first-child{font-size:11px;letter-spacing:0;text-transform:none}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>div:nth-child(3)>span:nth-child(2){margin-top:3px;font-size:23px;color:#c02727}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>div:nth-child(3)>p{margin-top:3px;line-height:1.25}
.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child>div:nth-child(4){grid-column:1;grid-row:3;align-self:end}
.amanta-res-payments-quincena .amanta-res-calendar-panel{grid-column:1;grid-row:3;min-width:0;border:1px solid #fff;border-radius:23px;background:#fff;padding:15px;box-shadow:0 8px 20px #252b3608}
.amanta-res-payments-quincena .amanta-res-calendar-panel .h-9{height:30px}
.amanta-res-payments-quincena .amanta-res-recent-periods{display:none}
.amanta-res-payments-quincena .amanta-res-work-summary{grid-column:2;grid-row:3;min-width:0;padding:16px 19px;border:1px solid #fff;border-radius:23px;background:#fff;box-shadow:0 8px 20px #252b3608}
.amanta-res-payments-quincena .amanta-res-work-summary>div:first-child{align-items:center}
.amanta-res-payments-quincena .amanta-res-work-summary>div:first-child p:first-child{display:none}
.amanta-res-payments-quincena .amanta-res-work-summary>div:first-child h2{margin:0;font-size:16px}
.amanta-res-payments-quincena .amanta-res-work-summary>div:first-child p:last-child{margin-top:4px;font-size:11px;line-height:1.25}
.amanta-res-payments-quincena .amanta-res-work-summary>div:nth-child(2){margin-top:12px}
.amanta-res-payments-quincena .amanta-res-period-summary{grid-column:1/-1;grid-row:4;padding:14px;border:1px solid #fff;border-radius:23px;background:#fff}
.amanta-res-payments-quincena .amanta-res-period-summary>p:first-child{display:none}
.amanta-res-payments-quincena .amanta-res-period-summary>div:nth-child(2){margin:0}
.amanta-res-payments-quincena .amanta-res-payroll-detail{grid-column:1/-1;grid-row:5;min-width:0}
@media(max-width:1100px){.amanta-res-payments-quincena{grid-template-columns:minmax(0,1fr)}.amanta-res-payments-quincena .amanta-res-payments-title{padding-right:0;min-height:0}.amanta-res-payments-quincena .amanta-res-payments-history-button{position:static;margin-top:8px}.amanta-res-payments-quincena .amanta-res-calendar-panel{grid-column:1;grid-row:3}.amanta-res-payments-quincena .amanta-res-work-summary{grid-column:1;grid-row:4}.amanta-res-payments-quincena .amanta-res-period-summary{grid-column:1;grid-row:5}.amanta-res-payments-quincena .amanta-res-payroll-detail{grid-column:1;grid-row:6}.amanta-res-payments-quincena .amanta-res-period-layout>div:first-child{grid-template-columns:minmax(0,1fr) minmax(170px,230px)}}
.amanta-res-payments-quincena .amanta-res-work-summary table{width:100%;min-width:0!important}
.amanta-res-payments-quincena .amanta-res-work-summary table :is(th,td){padding:8px 10px;border-right:0}
.amanta-res-payments-quincena .amanta-res-work-summary table th{font-size:10px;letter-spacing:.05em}
.amanta-res-payments-quincena .amanta-res-work-summary table td{font-size:12px}

/* Ajuste final 23/09/2026 — alineación global con las referencias (capturas 01–43).
   Solo forma y color: no cambia alturas de controles ni la lógica de las pantallas. */
/* Rótulo superior de cada página: gris y sin mayúsculas, como en las maquetas. */
.amanta-redesign-main :is(p, span, div).uppercase:has(+ h1),
.amanta-redesign-main :is(p, span, div).uppercase:has(+ div > h1) {
  color: var(--amanta-redesign-muted) !important;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 12px;
  font-weight: 400;
}
/* Títulos de sección en naranja y mayúsculas pasan a título normal oscuro. */
.amanta-redesign-main:not(.amanta-banks-page) :is(h2, h3, p).uppercase.text-primary:not(:has(+ h1)) {
  color: var(--amanta-redesign-ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
}
/* Botones con texto: cápsula. Los botones de ícono y las celdas de calendario no cambian. */
.amanta-redesign-main:not(.amanta-banks-page) :is(button, a):is(.rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl):is(.px-3, .px-4, .px-5, .px-6):not([role=tab]):not([role=gridcell]) {
  border-radius: 999px;
}
/* Campos: esquinas de 12 px. */
.amanta-redesign-main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea):is(.rounded, .rounded-md, .rounded-lg) {
  border-radius: 12px;
}
/* Paneles blancos con borde: mismo vidrio y radio que las tarjetas principales. */
.amanta-redesign-main:not(.amanta-banks-page) > * > :is(.bg-white, .bg-surface):is(.rounded-xl, .rounded-lg).border,
.amanta-redesign-main:not(.amanta-banks-page) > * > * > :is(.bg-white, .bg-surface):is(.rounded-xl, .rounded-lg).border {
  background: var(--amanta-redesign-glass);
  border-color: var(--amanta-redesign-stroke);
  border-radius: 26px;
  box-shadow: var(--amanta-redesign-shadow);
}

/* Formularios de carga (Ingresos, Egresos, Residencia): campos separados y redondeados como en las maquetas 14/15. */
.amanta-redesign-main section.amanta-arrowless-entry {
  padding: 14px 16px 14px;
  border: 1px solid var(--amanta-redesign-stroke);
  border-radius: 26px;
  background: var(--amanta-redesign-glass);
  box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main section.amanta-arrowless-entry > div:first-child:has(> p) {
  padding: 2px 4px 10px;
  border: 0;
  background: transparent;
}
.amanta-redesign-main section.amanta-arrowless-entry > div:first-child > p {
  color: var(--amanta-redesign-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.amanta-redesign-main .amanta-movement-entry-grid {
  column-gap: 8px;
  background: transparent !important;
}
.amanta-redesign-main .amanta-movement-page .amanta-movement-entry-grid,
.amanta-redesign-main .amanta-movement-page .amanta-movement-entry-footer { background: transparent; }
.amanta-redesign-main .amanta-movement-entry-column { border-right: 0 !important; }
.amanta-redesign-main .amanta-movement-entry-label {
  min-height: 0;
  border: 0;
  background: transparent;
}
.amanta-redesign-main .amanta-movement-entry-label > * {
  padding: 0 4px 6px;
  color: #8b8e97;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.amanta-redesign-main .amanta-movement-entry-control {
  min-height: 40px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  transition: border-color .15s;
}
.amanta-redesign-main .amanta-movement-entry-control:focus-within { border-color: rgba(232,68,32,.55); }
.amanta-redesign-main .amanta-movement-entry-control :is(input, .sheet-cell, button[role=combobox]:not(.amanta-invoice-condition), .amanta-invoice-field, .amanta-catalog-minimal) {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.amanta-redesign-main .amanta-movement-entry-control .amanta-invoice-condition {
  height: 26px;
  margin: auto 0;
  border-radius: 999px;
}
.amanta-redesign-main .amanta-movement-entry-footer {
  gap: 10px;
  margin-top: 10px;
  padding: 0;
  border: 0;
}
.amanta-redesign-main .amanta-movement-entry-footer > input:first-child,
.amanta-redesign-main .amanta-movement-entry-footer .amanta-residence-description input {
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
}
.amanta-redesign-main .amanta-movement-entry-footer > input:first-child:focus { border-color: rgba(232,68,32,.55) !important; }
.amanta-redesign-main .amanta-movement-entry-footer .amanta-action-tool {
  border-radius: 50%;
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.85);
}
.amanta-redesign-main .amanta-movement-entry-footer button.bg-primary {
  height: 40px;
  border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(232,68,32,.7);
}

/* Botones de acción del encabezado (maquetas 14/15): cápsulas con color de fondo, sin borde. */
.amanta-redesign-main :is(button.amanta-excel-import-trigger, button.amanta-payment-launch, button.amanta-collect-invoices-trigger) {
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  gap: 8px;
  border: 0 !important;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: none;
}
.amanta-redesign-main button.amanta-excel-import-trigger,
.amanta-redesign-main button.amanta-payment-launch.amanta-payment-theme-subcontractors {
  background: rgba(30,64,175,.1) !important;
  color: #1e40af !important;
}
.amanta-redesign-main button.amanta-payment-launch.amanta-payment-theme-personnel {
  background: rgba(232,68,32,.1) !important;
  color: #c2410c !important;
}
.amanta-redesign-main :is(button.amanta-payment-launch.amanta-payment-theme-suppliers, button.amanta-collect-invoices-trigger) {
  background: #047857 !important;
  color: #fff !important;
}
.amanta-redesign-main button.amanta-excel-import-trigger:hover,
.amanta-redesign-main button.amanta-payment-launch:hover { filter: brightness(.96); }
.amanta-redesign-main :is(button.amanta-payment-launch.amanta-payment-theme-suppliers, button.amanta-collect-invoices-trigger):hover { background: #065f46 !important; }

/* Historial de Ingresos/Egresos (maquetas 14/15): filas limpias, sin líneas verticales, monto en color. */
.amanta-redesign-main .amanta-movement-page .amanta-sticky-history-columns {
  border-bottom: 1px solid rgba(0,0,0,.06);
  /* Opaco (mismo blanco del panel): las filas no deben verse por debajo al desplazar. */
  background: #fff !important;
}
.amanta-redesign-main .amanta-movement-page :is(.amanta-sticky-history-columns, .amanta-audit-grid) > div > div,
.amanta-redesign-main .amanta-movement-page .amanta-audit-grid > div { border-right-color: transparent !important; }
.amanta-redesign-main .amanta-movement-page .amanta-sticky-history-columns .amanta-history-column > div {
  color: #a1a4ab;
  font-size: 10.5px;
  letter-spacing: .05em;
}
.amanta-redesign-main .amanta-movement-page .amanta-audit-grid {
  border-bottom-color: rgba(0,0,0,.05);
  background: transparent;
}
.amanta-redesign-main .amanta-movement-page .amanta-audit-grid:hover { background: rgba(255,255,255,.7); }
.amanta-redesign-main .amanta-history-amount .amanta-compact-cell-preview { font-weight: 600; }
.amanta-redesign-main .amanta-history-amount--out .amanta-compact-cell-preview { color: #dc2626; }
.amanta-redesign-main .amanta-history-amount--in .amanta-compact-cell-preview { color: #15803d; }
.amanta-redesign-main .amanta-history-amount--pending .amanta-compact-cell-preview { color: #b45309; }
.amanta-redesign-main .amanta-movement-page .amanta-audit-grid { align-items: center; }

/* Gastos a verificar (maqueta 16): tres tarjetas, pestañas Solicitudes/Rendiciones y filtro en una franja con total. */
.amanta-redesign-main .amanta-review-heading { position: relative; }
.amanta-redesign-main .amanta-review-heading .amanta-review-subtitle { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: #8b8e97; }
.amanta-redesign-main .amanta-review-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.amanta-redesign-main .amanta-review-kpi {
  padding: 16px 20px;
  border: 1px solid var(--amanta-redesign-stroke);
  border-radius: 24px;
  background: var(--amanta-redesign-glass);
  box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main .amanta-review-kpi-value { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #18181b; }
.amanta-redesign-main section.amanta-review-panel {
  padding: 16px 18px 0;
  border: 1px solid var(--amanta-redesign-stroke) !important;
  border-radius: 26px !important;
  background: var(--amanta-redesign-glass) !important;
  box-shadow: var(--amanta-redesign-shadow) !important;
}
.amanta-redesign-main .amanta-review-toolbar { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.amanta-redesign-main .amanta-review-toolbar > .amanta-seg { align-self: flex-start; }
.amanta-redesign-main .amanta-review-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.amanta-redesign-main .amanta-review-filterbar > .amanta-review-search { flex: 1 1 260px; min-width: 220px; }
.amanta-redesign-main .amanta-review-filterbar > :not(.amanta-review-search):not(.amanta-review-total):not(button) { flex: 0 1 150px; min-width: 120px; }
.amanta-redesign-main .amanta-review-total {
  display: flex; flex-direction: column; justify-content: center;
  height: 44px; padding: 0 16px; border: 0; line-height: 1.2; white-space: nowrap;
}
.amanta-redesign-main .amanta-review-total span { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8b8e97; }
.amanta-redesign-main .amanta-review-total b { font-size: 14px; font-weight: 600; color: #dc2626; }
.amanta-redesign-main .amanta-review-panel > div:nth-child(2) { margin: 0 -18px; }
@media (max-width: 900px) { .amanta-redesign-main .amanta-review-kpis { grid-template-columns: 1fr; } }

/* Reglas comunes de tablas y etiquetas (guía: etiqueta = tinte + texto; sin líneas verticales). Bancos conserva su estilo. */
.amanta-redesign-main:not(.amanta-banks-page) span.inline-flex.border.uppercase:is(.rounded, .rounded-md, .rounded-full, .rounded-lg) {
  padding: 3px 10px;
  border-color: transparent !important;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
}
.amanta-redesign-main:not(.amanta-banks-page) .amanta-data-grid-header {
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  background: transparent !important;
}
.amanta-redesign-main:not(.amanta-banks-page) .amanta-data-grid-header > * {
  border-right-color: transparent !important;
  color: #a1a4ab;
  font-size: 10.5px;
  letter-spacing: .05em;
}
.amanta-redesign-main:not(.amanta-banks-page) .grid > .border-r.border-border { border-right-color: transparent !important; }
.amanta-redesign-main:not(.amanta-banks-page) .amanta-expense-review-row { background: transparent; }
.amanta-redesign-main:not(.amanta-banks-page) .amanta-review-panel .border-b.border-border:not(.amanta-data-grid-header) { border-bottom-color: rgba(0,0,0,.05); }
.amanta-redesign-main .amanta-expense-review-row .amanta-action-view {
  height: 32px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 999px;
  background: #18181b !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
}
.amanta-redesign-main .amanta-expense-review-row .amanta-action-view:hover { background: #3f3f46 !important; }

/* Cheques (maqueta 18): «Nuevo cheque cliente» en una fila de campos redondeados; datos del cheque en la misma fila. */
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-entry.amanta-cheques-card {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--amanta-redesign-stroke);
  border-radius: 26px;
  background: var(--amanta-redesign-glass);
  box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-section-title {
  padding: 2px 4px 10px;
  color: #18181b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form:has(> .amanta-cheques-document) {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  column-gap: 8px;
  align-items: end;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form:has(> .amanta-cheques-document) > :not(.amanta-cheques-entry-grid):not(.amanta-cheques-document) { grid-column: 1 / -1; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-entry-grid {
  gap: 8px;
  border: 0;
}
.amanta-redesign-main .amanta-cheques-workspace :is(.amanta-cheques-entry-grid, .amanta-cheques-document .amanta-cheques-extra-grid) > label {
  display: grid;
  grid-template-rows: auto 40px;
  gap: 0;
  border: 0;
}
.amanta-redesign-main .amanta-cheques-workspace :is(.amanta-cheques-entry-grid, .amanta-cheques-document .amanta-cheques-extra-grid) > label > span:first-child {
  display: block;
  padding: 0 4px 6px;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #8b8e97;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-align: left;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.amanta-redesign-main .amanta-cheques-workspace :is(.amanta-cheques-entry-grid, .amanta-cheques-document .amanta-cheques-extra-grid) :is(input:not([type=date]):not([tabindex="-1"]), [role=combobox]) {
  height: 40px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.85);
  font-size: 13px;
  text-align: left;
}
.amanta-redesign-main .amanta-cheques-workspace :is(.amanta-cheques-entry-grid, .amanta-cheques-extra-grid) :is(input, [role=combobox]):focus-visible {
  outline: 0;
  border-color: rgba(232,68,32,.55) !important;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-work-add {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(232,68,32,.12) !important;
  color: #e84420 !important;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-document {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-document > .amanta-supplemental-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-document .amanta-cheques-extra-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
}
.amanta-redesign-main .amanta-cheques-workspace details.amanta-cheques-entry-extra {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.amanta-redesign-main .amanta-cheques-workspace details.amanta-cheques-entry-extra > summary {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  color: #5b5e66;
  font-size: 12.5px;
}
.amanta-redesign-main .amanta-cheques-workspace details.amanta-cheques-entry-extra[open] .amanta-cheques-extra-grid { padding-top: 10px; }
.amanta-redesign-main .amanta-cheques-workspace details.amanta-cheques-entry-extra .amanta-cheques-extra-grid input {
  height: 40px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.85);
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form > p { margin: 8px 4px 0; color: #8b8e97; font-size: 11.5px; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form > footer { padding: 8px 0 0; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-actions .amanta-cheques-button {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-actions .amanta-cheques-primary { box-shadow: 0 8px 22px -8px rgba(232,68,32,.7); }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form:has(> .amanta-cheques-document) > .amanta-cheques-entry-grid { grid-column: 1; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form:has(> .amanta-cheques-document) > .amanta-cheques-document { grid-column: 2; border-left: 0 !important; }
/* Encabezado de Cheques: rótulo gris, pestañas como cápsula segmentada junto a Importar Excel. */
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading p {
  display: block;
  margin: 0 0 4px;
  color: #8b8e97;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: lowercase;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading p::first-letter { text-transform: uppercase; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading h1 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading .amanta-cheques-actions { display: flex; align-items: center; gap: 10px; padding: 0; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading .amanta-cheques-tabs {
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading .amanta-cheques-tabs .amanta-cheques-button {
  height: 36px;
  min-height: 36px;
  padding: 0 15px;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6b6e76 !important;
  font-size: 13px;
  font-weight: 400;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading .amanta-cheques-tabs .amanta-cheques-button[aria-selected=true] {
  background: #fff !important;
  color: #18181b !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,.1) !important;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-heading .amanta-action-view {
  height: 44px;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(30,64,175,.1) !important;
  color: #1e40af !important;
  font-size: 13.5px;
  font-weight: 500;
}
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form > .amanta-cheques-document { border: 0 !important; box-shadow: none !important; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-inline-form > .amanta-cheques-document::before { display: none; }
.amanta-redesign-main:has(.amanta-cheques-heading .amanta-cheques-tabs) .amanta-import-notice { right: 470px; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-entry-extra .amanta-supplemental-grid { border: 0; background: transparent; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-entry-extra .amanta-supplemental-grid > label { border-right: 0; }
.amanta-redesign-main .amanta-cheques-workspace .amanta-cheques-entry-extra .amanta-supplemental-grid > label > span:first-child { min-height: 0; line-height: 1.3; border-bottom: 0; background: transparent; }
.amanta-redesign-main .amanta-cheques-workspace details.amanta-cheques-entry-extra .amanta-supplemental-grid > label > span:first-child { padding: 0 4px 6px; color: #8b8e97; font-size: 10.5px; font-weight: 600; }

/* Créditos (maqueta 20): encabezado libre, tres tarjetas, total en la franja de filtros y estado vacío. */
.amanta-redesign-main .amanta-credits-general .amanta-credits-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0; border: 0; background: transparent;
}
.amanta-redesign-main .amanta-credits-general .amanta-credits-heading p {
  display: block; margin: 0 0 4px; color: #8b8e97; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: lowercase;
}
.amanta-redesign-main .amanta-credits-general .amanta-credits-heading p::first-letter { text-transform: uppercase; }
.amanta-redesign-main .amanta-credits-general .amanta-credits-heading h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: #18181b; }
.amanta-redesign-main .amanta-credits-general .amanta-credit-entry-hint { display: block; margin: 4px 0 0; color: #8b8e97; font-size: 12.5px; }
.amanta-redesign-main .amanta-credits-general :is(.amanta-credits-heading, .amanta-credits-empty) .amanta-cheques-primary {
  height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 8px 22px -8px rgba(232,68,32,.7);
}
.amanta-redesign-main .amanta-credits-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.amanta-redesign-main .amanta-credits-kpi {
  padding: 16px 20px; border: 1px solid var(--amanta-redesign-stroke); border-radius: 24px;
  background: var(--amanta-redesign-glass); box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main .amanta-credits-kpi-value { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #18181b; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-card {
  border: 1px solid var(--amanta-redesign-stroke); border-radius: 26px; background: var(--amanta-redesign-glass); box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main .amanta-credits-general .amanta-cheques-history-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 18px 12px; background: #fff; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-history-controls .amanta-cheques-filter { flex: 1 1 520px; min-width: 0; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary { display: flex; align-items: center; gap: 12px; padding: 0; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary > span { color: #8b8e97; font-size: 11.5px; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary > div {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px !important; border-radius: 999px;
  background: rgba(239,68,68,.08) !important;
}
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary small { color: #8b8e97; font-size: 12px; letter-spacing: 0; text-transform: none; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary strong { color: #dc2626; font-size: 14px; }
.amanta-redesign-main .amanta-credits-general table th { background: transparent; border-color: rgba(0,0,0,.06); }
.amanta-redesign-main .amanta-credits-general .amanta-credits-empty-cell { padding: 0 !important; border: 0 !important; }
.amanta-redesign-main .amanta-credits-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 360px; text-align: center;
}
.amanta-redesign-main .amanta-credits-empty-icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px;
  background: rgba(232,68,32,.12); color: #e84420; font-size: 18px; font-weight: 700;
}
.amanta-redesign-main .amanta-credits-empty strong { color: #18181b; font-size: 14px; }
.amanta-redesign-main .amanta-credits-empty p { margin: 0 0 8px; color: #8b8e97; font-size: 12.5px; }
.amanta-redesign-main:has(.amanta-credits-heading) .amanta-import-notice { right: 220px; }
.amanta-redesign-main .amanta-credits-kpi-value { color: #18181b !important; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary { display: contents; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary > span { order: 3; flex-basis: 100%; padding: 0 4px; }
.amanta-redesign-main .amanta-credits-general .amanta-cheques-summary > div { order: 2; }
.amanta-redesign-main .amanta-credits-kpi-value small { display: inline; }

/* Tarjetas de crédito (maqueta 19): selector de tarjetas en fichas, franja de la tarjeta elegida y movimientos. */
.amanta-redesign-cards .amanta-cards-subtitle { margin-top: 4px; color: #8b8e97; font-size: 12.5px; }
.amanta-redesign-cards .amanta-cards-header-stat {
  min-width: 0 !important;
  padding: 8px 14px !important;
  border: 1px solid var(--amanta-redesign-stroke) !important;
  border-radius: 16px;
  background: var(--amanta-redesign-glass) !important;
  box-shadow: none !important;
  text-align: left !important;
}
.amanta-redesign-cards .amanta-cards-header-stat > p:first-child { color: #8b8e97 !important; font-size: 11px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
.amanta-redesign-cards .amanta-cards-header-stat > p:last-child { margin-top: 2px !important; font-size: 14px !important; }
.amanta-redesign-cards > div:first-child button.bg-primary { height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: 0 8px 22px -8px rgba(232,68,32,.7); }
.amanta-card-selector.amanta-card-chips { gap: 10px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.amanta-card-chips .amanta-card-selector-arrow,
.amanta-card-chips .amanta-card-selector-list {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 1px solid rgba(0,0,0,.06); border-radius: 50%;
  background: rgba(255,255,255,.85); color: #5b5e66; font-size: 20px;
}
.amanta-card-chip-track { display: flex; flex: 1; gap: 10px; min-width: 0; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.amanta-card-chips button.amanta-card-chip {
  display: flex; flex: 0 0 auto; align-items: center; gap: 10px; height: 52px; max-width: 290px;
  padding: 0 14px 0 8px; border: 1px solid rgba(255,255,255,.85); border-radius: 16px;
  background: rgba(255,255,255,.7); box-shadow: 0 6px 20px -12px rgba(30,30,60,.25); color: #18181b; text-align: left;
}
.amanta-card-chips button.amanta-card-chip.is-active { border-color: #18181b; background: #18181b; color: #fff; }
.amanta-card-chips button.amanta-card-chip.is-inactive { opacity: .6; }
.amanta-card-chip-art { flex: none; width: 36px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, #3f3f46, #18181b); }
.amanta-card-chip.is-active .amanta-card-chip-art { background: linear-gradient(135deg, #ff7a4d, #e84420); }
.amanta-card-chip-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.amanta-card-chip-text strong { overflow: hidden; font-size: 12.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.amanta-card-chip-text small { overflow: hidden; color: #8b8e97; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.amanta-card-chip.is-active .amanta-card-chip-text small { color: rgba(255,255,255,.6); }
.amanta-card-chip-debt { margin-left: 6px; color: #8b8e97; font-size: 12px; font-weight: 600; white-space: nowrap; }
.amanta-card-chip-debt.has-debt { color: #dc2626; }
.amanta-card-chip.is-active .amanta-card-chip-debt.has-debt { color: #ff8a65; }
.amanta-redesign-cards .amanta-card-table-header { display: none !important; }
.amanta-redesign-cards > section {
  border: 1px solid var(--amanta-redesign-stroke) !important;
  border-radius: 26px !important;
  background: var(--amanta-redesign-glass) !important;
  box-shadow: var(--amanta-redesign-shadow) !important;
}
.amanta-card-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 14px 18px; border-bottom: 1px solid rgba(0,0,0,.05); }
.amanta-card-strip-art {
  display: flex; flex-direction: column; justify-content: space-between; width: 92px; height: 58px; padding: 8px 10px;
  border-radius: 10px; background: linear-gradient(135deg, #3f3f46, #18181b); color: #fff; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6);
}
.amanta-card-strip-art strong { overflow: hidden; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.amanta-card-strip-art span { font-size: 10px; letter-spacing: .08em; }
.amanta-card-strip-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.amanta-card-strip-field small { color: #8b8e97; font-size: 11px; }
.amanta-card-strip-field b { color: #18181b; font-size: 13px; font-weight: 600; white-space: nowrap; }
.amanta-card-strip-field.is-debt b { color: #dc2626; }
.amanta-card-strip-state { margin-left: auto; }
.amanta-card-strip > div:last-child { display: flex; gap: 6px; }
.amanta-card-strip > div:last-child button { width: 34px !important; height: 34px !important; border-radius: 50% !important; background: rgba(255,255,255,.85); }
.amanta-redesign-cards > section .space-y-4.bg-slate-50\/60 { padding: 14px 18px 18px; background: transparent; }
.amanta-redesign-cards > section .space-y-4.bg-slate-50\/60 > div.overflow-hidden.border {
  border: 1px solid rgba(0,0,0,.05) !important;
  border-radius: 20px;
  background: rgba(255,255,255,.55);
}
.amanta-redesign-cards > section .space-y-4.bg-slate-50\/60 > div.overflow-hidden.border > div:first-child { background: transparent; border-color: rgba(0,0,0,.05); }
.amanta-redesign-cards > section .space-y-4.bg-slate-50\/60 .grid.bg-slate-50 { background: transparent; }
.amanta-redesign-cards > section .space-y-4.bg-slate-50\/60 .grid.bg-slate-50 > * { color: #a1a4ab; font-size: 10.5px; letter-spacing: .05em; }
.amanta-redesign-cards .amanta-card-consumo-amount { color: #dc2626 !important; }
.amanta-redesign-cards > section .space-y-4.bg-slate-50\/60 .grid > .border-r { border-right-color: transparent !important; }
.amanta-redesign-main:has(.amanta-redesign-cards) .amanta-import-notice { right: 540px; }

/* Proveedores (maqueta 21): cuatro tarjetas sueltas, franja de filtros con Deuda filtrada. */
.amanta-redesign-main .amanta-supplier-overview { padding: 0; border: 0; background: transparent; box-shadow: none; }
.amanta-redesign-main .amanta-supplier-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 0 14px; }
.amanta-redesign-main .amanta-supplier-totals > .amanta-supplier-kpi {
  padding: 16px 20px; border: 1px solid var(--amanta-redesign-stroke); border-radius: 24px;
  background: var(--amanta-redesign-glass); box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main .amanta-supplier-totals > .amanta-supplier-kpi--debt { background: linear-gradient(110deg, rgba(254,226,226,.8), rgba(255,255,255,.55)); }
.amanta-redesign-main .amanta-supplier-totals > .amanta-supplier-kpi--credit { background: linear-gradient(110deg, rgba(220,252,231,.8), rgba(255,255,255,.55)); }
.amanta-redesign-main .amanta-supplier-totals h2 { margin: 0 0 6px; color: #8b8e97; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.amanta-redesign-main .amanta-supplier-totals strong { display: block; color: #18181b !important; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.amanta-redesign-main .amanta-supplier-totals strong small { margin-right: 6px; color: #a1a4ab; font-size: 13px; font-weight: 500; }
.amanta-redesign-main .amanta-supplier-kpi--debt strong { color: #dc2626 !important; }
.amanta-redesign-main .amanta-supplier-kpi--credit strong { color: #15803d !important; }
.amanta-redesign-main .amanta-supplier-filterbar {
  flex-wrap: wrap; gap: 8px; padding: 14px 16px; border: 1px solid var(--amanta-redesign-stroke);
  border-radius: 24px; background: var(--amanta-redesign-glass); box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main .amanta-supplier-filterbar :is(input, button) { border-radius: 12px; }
.amanta-redesign-main .amanta-supplier-filterbar > .amanta-supplier-status { flex: 0 1 190px; }
.amanta-redesign-main .amanta-supplier-filterbar > .amanta-supplier-clear { flex: none; width: 44px; padding: 0; font-size: 18px; color: #3f4148; }
.amanta-redesign-main .amanta-supplier-filterbar > .amanta-supplier-filter-total {
  display: flex; flex: none; flex-direction: column; justify-content: center; height: 44px; padding: 0 16px; line-height: 1.2; white-space: nowrap;
}
.amanta-redesign-main .amanta-supplier-filter-total span { color: #8b8e97; font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.amanta-redesign-main .amanta-supplier-filter-total b { color: #dc2626; font-size: 14px; font-weight: 600; }
.amanta-redesign-main .amanta-supplier-overview > p { margin: 8px 6px 0; color: #8b8e97; font-size: 11.5px; }
@media (max-width: 1000px) { .amanta-redesign-main .amanta-supplier-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Filas del navegador de proveedores (maqueta 21). */
.amanta-redesign-main .amanta-supplier-name-cell { gap: 10px !important; }
.amanta-redesign-main .amanta-supplier-avatar {
  display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.06); color: #6b6e76; font-size: 11px; font-weight: 600;
}
.amanta-redesign-main .amanta-supplier-name-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.amanta-redesign-main .amanta-supplier-name-text b { overflow: hidden; color: #18181b; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.amanta-redesign-main .amanta-supplier-name-text small { color: #a1a4ab; font-size: 11.5px; font-weight: 400; }
.amanta-redesign-main .amanta-supplier-amount span { font-size: 13px !important; font-weight: 600; }
.amanta-redesign-main .amanta-supplier-amount--paid span, .amanta-redesign-main .amanta-supplier-amount--debt span { color: #dc2626 !important; }
.amanta-redesign-main .amanta-supplier-amount--pending span { color: #18181b !important; }
.amanta-redesign-main .amanta-supplier-amount--credit span { color: #15803d !important; }
.amanta-redesign-main .amanta-supplier-amount span:only-child:is(:empty) { color: #cfd1d6; }
.amanta-redesign-main .amanta-supplier-row-actions { gap: 4px !important; }
.amanta-redesign-main .amanta-supplier-row-actions > button:not(.amanta-supplier-open) { width: 30px !important; height: 30px !important; border-radius: 50% !important; }
.amanta-redesign-main .amanta-supplier-row-actions > button.text-blue-700 { width: auto !important; padding: 0 6px; }
.amanta-redesign-main .amanta-supplier-open {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 14px;
  border: 1px solid rgba(0,0,0,.06); border-radius: 999px; background: rgba(255,255,255,.85);
  color: #18181b; font-size: 12.5px; font-weight: 600;
}
.amanta-redesign-main .amanta-supplier-open:hover { border-color: rgba(232,68,32,.45); }
.amanta-redesign-main .amanta-suppliers section > .grid.bg-slate-50, .amanta-redesign-main .amanta-suppliers section > div > .grid.bg-slate-50 { background: transparent; }
.amanta-redesign-main .amanta-supplier-amount span.is-empty { color: #cfd1d6 !important; font-weight: 400; }
.amanta-redesign-main .amanta-suppliers .grid > div.amanta-supplier-row-actions { flex-wrap: nowrap; }

/* Rótulo sobre el título (ADMINISTRACIÓN, etc.): gris, sin mayúsculas, en todas las pantallas rediseñadas. */
.amanta-redesign-main:not(.amanta-banks-page) :is(p, span):has(+ h1) {
  color: #8b8e97 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: lowercase !important;
}
.amanta-redesign-main:not(.amanta-banks-page) :is(p, span):has(+ h1)::first-letter { text-transform: uppercase; }
.amanta-redesign-main:not(.amanta-banks-page) h1 { font-weight: 600; letter-spacing: -.02em; color: #18181b; }

/* Resumen de caja (maqueta 25). */
.amanta-redesign-main .amanta-cash-overview > header .amanta-cash-actions { display: flex; align-items: center; gap: 10px; }
.amanta-redesign-main .amanta-cash-overview > header .amanta-cash-actions > button {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px; background: rgba(255,255,255,.85); color: #18181b; font-size: 13.5px; font-weight: 500; width: auto;
}
.amanta-redesign-main .amanta-cash-overview > header .amanta-cash-actions > button.amanta-cash-add { border: 0; background: #e84420; color: #fff; box-shadow: 0 8px 22px -8px rgba(232,68,32,.7); }
.amanta-redesign-main .amanta-cash-totals > .amanta-cash-total { border-radius: 24px; }
.amanta-redesign-main .amanta-cash-totals > .amanta-cash-total--in { background: linear-gradient(110deg, rgba(220,252,231,.85), rgba(255,255,255,.55)); }
.amanta-redesign-main .amanta-cash-totals > .amanta-cash-total--out { background: linear-gradient(110deg, rgba(254,226,226,.85), rgba(255,255,255,.55)); }
.amanta-redesign-main .amanta-cash-totals h2 { color: #8b8e97; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.amanta-redesign-main .amanta-cash-totals .amanta-cash-value { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.amanta-redesign-main .amanta-cash-totals .amanta-cash-total--balance .amanta-cash-value { color: #18181b !important; }
.amanta-redesign-main .amanta-cash-identity { position: relative; padding-left: 18px; }
.amanta-redesign-main .amanta-cash-identity::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--amanta-cash-dot, #a1a4ab);
}
.amanta-redesign-main .amanta-cash-identity strong { font-size: 13px; font-weight: 600; color: #18181b; }
.amanta-redesign-main .amanta-cash-identity small { color: #a1a4ab; font-size: 11px; text-transform: none; }
.amanta-redesign-main .amanta-cash-type { display: inline-flex; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; background: rgba(0,0,0,.06); color: #5b5e66; font-size: 11.5px; font-weight: 600; }
.amanta-redesign-main :is(.amanta-cash-accounts, .amanta-cash-cards) td .amanta-cash-value { font-size: 13px; font-weight: 600; }
.amanta-redesign-main :is(.amanta-cash-accounts, .amanta-cash-cards) td .amanta-cash-actions button { height: 30px; padding: 0 12px; border-radius: 999px; }
.amanta-redesign-main :is(.amanta-cash-accounts, .amanta-cash-cards) th { color: #a1a4ab; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.amanta-redesign-main .amanta-cash-overview .amanta-cash-value[data-money-direction=in],
.amanta-redesign-main .amanta-cash-overview .amanta-cash-value[data-money-direction=balance] { color: #15803d !important; }
.amanta-redesign-main .amanta-cash-overview .amanta-cash-value[data-money-direction=out],
.amanta-redesign-main .amanta-cash-overview .amanta-cash-value.is-negative { color: #dc2626 !important; }
.amanta-redesign-main .amanta-cash-totals .amanta-cash-total--balance .amanta-cash-value:not(.is-negative) { color: #18181b !important; }
.amanta-redesign-main .amanta-cash-value small { display: inline; }
.amanta-redesign-main:has(.amanta-cash-overview) .amanta-import-notice { right: 580px; }
/* Cuentas de egreso (maqueta 26): cada cuenta general es una banda separada con acento naranja. */
.amanta-expense-accounts-redesign .amanta-expense-groups > table { border-collapse: separate; border-spacing: 0 6px; }
.amanta-expense-accounts-redesign .amanta-expense-general-row > td { background: rgba(0,0,0,.035); border-bottom: 0; }
.amanta-expense-accounts-redesign .amanta-expense-general-row > td:first-child { border-radius: 12px 0 0 12px; }
.amanta-expense-accounts-redesign .amanta-expense-general-row > td:last-child { border-radius: 0 12px 12px 0; }
.amanta-expense-accounts-redesign .amanta-expense-groups td.amanta-eg-amount { color: #dc2626; font-weight: 600; }
.amanta-expense-accounts-redesign .amanta-expense-groups td.amanta-eg-amount.is-empty { color: #cfd1d6; font-weight: 400; }
.amanta-expense-accounts-redesign .amanta-expense-composition-row > td { background: transparent; }
.amanta-expense-accounts-redesign .amanta-expense-groups > table > thead th { color: #a1a4ab; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; background: transparent; }

/* Subcontratistas (maqueta 24). */
.amanta-redesign-main .subcontractor-title-line > div > p { color: #8b8e97; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.amanta-redesign-main .subcontractor-title-home { font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: #18181b; line-height: 1.15; }
.amanta-redesign-main .subcontractor-back { height: 36px; padding: 0 14px; border: 1px solid rgba(0,0,0,.06); border-radius: 999px; background: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600; }
.amanta-redesign-main .subcontractor-route nav { height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.7); }
.amanta-redesign-main .subcontractor-route-actions button { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.amanta-redesign-main .subcontractor-route-actions .group-new { order: 1; border: 1px solid rgba(0,0,0,.06); background: rgba(255,255,255,.85); color: #18181b; }

.amanta-redesign-main .subcontractor-route-actions .primary { order: 2; border: 0; background: rgba(30,64,175,.1); color: #1e40af; }
.amanta-redesign-main .subcontractor-route-actions .primary:hover { background: rgba(30,64,175,.16); }
.amanta-redesign-main .subcontractor-directory-filter {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border: 1px solid var(--amanta-redesign-stroke);
  border-radius: 24px; background: var(--amanta-redesign-glass); box-shadow: var(--amanta-redesign-shadow);
}
.amanta-redesign-main .subcontractor-directory-search { flex: 1 1 260px; height: 44px; border-color: #e2e8f0; border-radius: 12px; }
.amanta-redesign-main .subcontractor-directory-filter > .subcontractor-directory-filter-field.amanta-select-field { flex: 0 1 150px; height: 44px; padding: 0; border: 0; background: transparent; }
.amanta-redesign-main .subcontractor-directory-filter > button.subcontractor-directory-clear { flex: none; width: 44px; height: 44px; border-color: #e2e8f0; border-radius: 12px; }
.amanta-redesign-main .subcontractor-directory-total {
  flex: none; flex-direction: row; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(239,68,68,.08);
}
.amanta-redesign-main .subcontractor-directory-total span { color: #8b8e97; font-size: 12px; text-transform: none; }
.amanta-redesign-main .subcontractor-directory-total strong { color: #dc2626; font-size: 14px; }
.amanta-redesign-main .subcontractor-group-tools h2 { font-size: 14px; font-weight: 600; color: #18181b; }
.amanta-redesign-main .subcontractor-group { border: 0; border-radius: 12px; overflow: hidden; }
.amanta-redesign-main .subcontractor-group-heading { border-radius: 12px; background: rgba(0,0,0,.035); box-shadow: inset 3px 0 0 #e84420; }
.amanta-redesign-main .subcontractor-group-heading:hover { background: rgba(0,0,0,.05); }
.amanta-redesign-main .subcontractor-group-heading strong { font-size: 13.5px; font-weight: 600; }
.amanta-redesign-main .subcontractor-group-column-label { color: #6b6e76; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.amanta-redesign-main .subcontractor-group-actions > button { width: 30px; height: 30px; padding: 0 !important; border-radius: 50% !important; }
/* Gastos indirectos (maqueta 27). */
.amanta-redesign-main .amanta-indirect-kpis strong .amanta-kpi-prefix { display: inline; color: #a1a4ab; }
.amanta-redesign-main .amanta-indirect-kpis strong.is-neutral { color: #18181b !important; }
.amanta-redesign-main .amanta-indirect-redesign button.amanta-indirect-refresh {
  height: 44px; padding: 0 18px; border: 0 !important; border-radius: 999px; background: rgba(30,64,175,.1) !important; color: #1e40af !important; font-size: 13.5px; font-weight: 500;
}
.amanta-redesign-main .amanta-indirect-detail .grid.border-l-4 {
  min-height: 52px; margin: 6px 12px 0; border-left-width: 3px; border-left-color: #e84420; border-radius: 12px; background: rgba(0,0,0,.035);
}
.amanta-redesign-main .amanta-indirect-detail .grid.border-l-4.border-amber-400 { border-left-color: #f59e0b; background: rgba(245,158,11,.08); }
.amanta-redesign-main .amanta-indirect-detail .grid.border-l-4 > .border-r { border-right-color: transparent !important; }
.amanta-redesign-main .amanta-indirect-detail .grid.border-l-4 :is(.font-extrabold) { font-weight: 600 !important; letter-spacing: 0 !important; }
.amanta-redesign-main .amanta-indirect-detail .grid.border-l-4 p.text-\[10px\] { letter-spacing: .04em; }
.amanta-redesign-main .amanta-indirect-detail .grid.border-l-4 .text-base.font-extrabold { font-size: 14px; color: #dc2626; }
/* «Importar Excel» igual en encabezados y en ventanas (Pagos al personal se abre fuera del área principal). */
button.amanta-excel-import-trigger {
  height: 44px; min-height: 44px; padding: 0 18px; gap: 8px; border: 0 !important; border-radius: 999px;
  background: rgba(30,64,175,.1) !important; color: #1e40af !important; font-size: 13.5px; font-weight: 500; box-shadow: none;
}
button.amanta-excel-import-trigger { font-size: 13.5px !important; font-weight: 500 !important; }
@media (max-width: 900px) {
  .amanta-redesign-main .subcontractor-route { flex-wrap: wrap; }
  .amanta-redesign-main .subcontractor-route-actions { flex-wrap: wrap; }
  .amanta-redesign-main .subcontractor-route-actions button { height: 36px; padding: 0 12px; font-size: 12px; }
}
/* Colores de tema de los pagos (se usan también dentro de cada ventana): texto = color del tema. */
.amanta-redesign-main button.amanta-payment-launch.amanta-payment-theme-personnel { color: #e84420 !important; }
.amanta-redesign-main button.amanta-payment-launch.amanta-payment-theme-suppliers { background: rgba(4,120,87,.12) !important; color: #047857 !important; }
.amanta-redesign-main button.amanta-payment-launch.amanta-payment-theme-suppliers:hover { background: rgba(4,120,87,.18) !important; }

/* ===== Revisión 24/09/2026: fijos opacos, barra lateral oculta, filtros en una fila y controles simétricos ===== */
/* Encabezados fijos propios de Cheques/Créditos (los demás los vuelve opacos StickyDataHeaders.js). */
.amanta-redesign-main .amanta-cheques-history .amanta-cheques-table-scroll > table > thead { background: #fff; }

/* Barra lateral desbloqueada: sale entera, también sus 20 px de margen; queda solo el tirador del borde. */
.amanta-redesign-sidebar.sidebar-panel[data-open="false"] {
  transform: translateX(calc(-100% - 20px));
  box-shadow: none;
  overflow: visible;
}
.amanta-redesign-sidebar .sidebar-peek-handle {
  inset: 0 -7px 0 auto;
  width: 7px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: rgba(24,24,27,.16);
  box-shadow: none;
}
.amanta-redesign-sidebar .sidebar-peek-handle:is(:hover, :focus-visible) { background: var(--amanta-redesign-orange); box-shadow: none; }
@media (max-width: 1100px) {
  .amanta-redesign-sidebar.sidebar-panel[data-open="false"] { transform: translateX(calc(-100% - 12px)); }
}

/* Gastos a verificar: el filtro híbrido cabe en una sola fila (UI-23), con fecha y limpiar de 44 px. */
.amanta-redesign-main .amanta-review-filterbar { flex-wrap: nowrap; gap: 6px; }
.amanta-redesign-main .amanta-review-filterbar > .amanta-review-search { flex: 1.6 1 0; min-width: 0; }
.amanta-redesign-main .amanta-review-filterbar > :not(.amanta-review-search):not(.amanta-review-total):not(button),
.amanta-redesign-main .amanta-review-filterbar > .amanta-date-range-trigger { flex: 1 1 0; min-width: 0; }
.amanta-redesign-main .amanta-review-filterbar > .amanta-date-range-trigger { height: 44px; min-height: 44px; }
.amanta-redesign-main .amanta-review-filterbar > button:not(.amanta-date-range-trigger) { flex: none; width: 44px; height: 44px; }
.amanta-redesign-main .amanta-review-filterbar > .amanta-review-total { flex: none; }

/* Cheques y Créditos: campos, fecha y limpiar filtros con la misma altura (44 px). */
.amanta-redesign-main .amanta-cheques-filter :is(.amanta-select-field, .amanta-select-field input, .amanta-date-range-trigger) { height: 44px; min-height: 44px; }
.amanta-redesign-main .amanta-cheques-filter > button[aria-label="Limpiar filtros"],
.amanta-redesign-main .amanta-cheques-filter button[aria-label="Limpiar filtros"] { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; }

/* Cuentas de egreso: filtros de 44 px y acciones de grupo de 32 × 32. */
.amanta-redesign-main .amanta-expense-group-filters { grid-template-columns: minmax(0,2fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) 44px; }
.amanta-redesign-main .amanta-expense-group-filters :is(input[type=search], .amanta-select-field, .amanta-select-field input, .amanta-date-range-trigger) { height: 44px; min-height: 44px; }
.amanta-redesign-main .amanta-expense-group-filters > button[aria-label="Limpiar filtros"] { width: 44px; height: 44px; border-radius: 12px; }
.amanta-redesign-main .amanta-expense-group-actions { align-items: center; }
.amanta-redesign-main .amanta-expense-group-actions > button { width: 32px; height: 32px; min-height: 32px; padding: 0; }

/* Lista de proveedores: acciones de fila con la misma altura que «Abrir». */
.amanta-redesign-main .amanta-supplier-row-actions > button:not(.amanta-supplier-open) { width: 32px !important; height: 32px !important; }

/* Rubros: el selector Lista/Cuadrícula mide lo mismo que el filtro vecino. */
.amanta-rubros-view-switch { height: 44px; box-sizing: border-box; }
.amanta-rubros-view-switch button { height: 36px; }

/* Ingresos, Egresos y Caja de residencia: todas las casillas de la carga miden 44 px. */
.amanta-redesign-main .amanta-movement-entry-control { height: 44px; min-height: 44px; box-sizing: border-box; }
.amanta-redesign-main .amanta-movement-entry-control > * { height: 100%; min-height: 0; }
.amanta-redesign-main .amanta-movement-entry-control :is(input, .sheet-cell, .amanta-invoice-field, .amanta-catalog-minimal, .amanta-income-invoice-entry, span.inline-flex) { height: 100% !important; min-height: 0 !important; }
.amanta-redesign-main .amanta-residence-entry-footer .amanta-action-view { height: 40px; }

/* Encabezados con varios botones: igual altura. */
.amanta-redesign-main .amanta-budget-gerencia-page > div > div.flex.items-center.gap-2 > button { height: 44px; box-sizing: border-box; }
.amanta-redesign-main .amanta-inventory-redesign > div > div.flex.flex-wrap.justify-end > button { height: 44px; box-sizing: border-box; }
.amanta-redesign-main .flex.flex-nowrap.items-center.gap-1\.5 > button.amanta-action-pay { height: 36px; box-sizing: border-box; }
.amanta-redesign-main .amanta-res-payroll-detail div.flex.flex-wrap.items-center.gap-2 > button { height: 44px; box-sizing: border-box; }

/* Pagos extra y Descuentos: fecha, campos, «+», monto y botones de 44 px. */
.amanta-residence-inline-entry :is(input:not([type=checkbox]):not([type=radio]), select) { height: 44px; min-height: 44px; box-sizing: border-box; }
.amanta-residence-inline-entry :is(.amanta-residence-extra-grid, .amanta-residence-discount-grid) button { height: 44px; min-width: 44px; box-sizing: border-box; }
.amanta-residence-inline-entry div.flex.items-center.gap-3 > button { height: 44px; min-width: 44px; box-sizing: border-box; }

/* Adelantos: el buscador mide lo mismo que el rango de fechas. */
.amanta-res-advance-redesign input.h-10.pl-9 { height: 44px; }

/* Carga de movimientos: los rótulos con «+» son más altos; las casillas se alinean abajo para empezar en la misma línea. */
.amanta-redesign-main .amanta-movement-entry-column { display: flex; flex-direction: column; justify-content: flex-end; }
.amanta-redesign-main .amanta-movement-entry-column > .amanta-movement-entry-label { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: flex-end; }

/* Historial de Ingresos/Egresos: los botones de acción empiezan en la misma columna en todas las filas. */
.amanta-redesign-main .amanta-sticky-history-scroll .amanta-audit-grid > .amanta-bank-row-actions { justify-content: flex-start; padding-left: max(3px, calc(50% - 26px)); }

/* Cheques y Créditos: el filtro híbrido nunca pasa a dos filas (también con zoom); las columnas ceden ancho. */
.amanta-redesign-main .amanta-cheques-history-controls .amanta-cheques-filter { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr) 44px; gap: 8px; }
.amanta-redesign-main .amanta-cheques-history-controls .amanta-cheques-filter.amanta-credit-filter { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) 44px; }

/* Filtros híbridos que se partían en 1024 px o con zoom 125 %: siempre en una fila; los campos ceden ancho. */
.amanta-redesign-main .amanta-bank-statement-filters,
.amanta-redesign-main .amanta-bank-native-sticky > .amanta-bank-statement-filters { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1fr) 44px; gap: 6px; }
.amanta-redesign-main .amanta-bank-statement-filters > :is(.amanta-bank-statement-search, button) { grid-column: auto; }
.amanta-redesign-main .subcontractor-directory-filter { flex-wrap: nowrap; }
.amanta-redesign-main .subcontractor-directory-search { flex: 1 1 0; min-width: 0; }
.amanta-redesign-main .subcontractor-directory-filter > .subcontractor-directory-filter-field.amanta-select-field { min-width: 0; }
.amanta-redesign-main .subcontractor-directory-total { min-width: 0; white-space: nowrap; }

/* Gastos a verificar: el botón «Ver» es solo icono; sin el relleno del botón de texto para que el ojo se vea completo. */
.amanta-redesign-main .amanta-expense-review-row .amanta-action-view.w-8 { width: 32px; padding: 0; border-radius: 50%; background: rgba(30,64,175,.1) !important; color: #1e40af !important; }

/* ===== Revisión 25/09/2026: ventanas emergentes y botones de limpiar ===== */
/* Limpiar solo con icono de refrescar: 44 × 44, mismo recuadro que los campos vecinos. */
:is(.amanta-import-reset, .amanta-sector-cash-reset) {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  width: 44px; min-width: 44px; height: 44px; padding: 0;
  border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #475569; cursor: pointer;
}
:is(.amanta-import-reset, .amanta-sector-cash-reset):hover { border-color: rgba(232,68,32,.45); color: #e84420; }
.amanta-cheques-button.amanta-load-reset { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; padding: 0; }

/* Revisión de la importación: buscador, hoja, fecha y limpiar con la misma altura. */
.amanta-import-filters { align-items: center; }
.amanta-import-filters :is(input:not([type=checkbox]), .amanta-select-field, .amanta-date-range-trigger) { height: 44px !important; min-height: 44px; box-sizing: border-box; }

/* Pies de ventana: el botón principal (sin borde) mide lo mismo que «Cancelar» (con borde). */
.fixed.inset-0 :is(.justify-end, footer, .flex.gap-3) > button.border + button:is(.bg-primary, [class*="bg-emerald-"], [class*="bg-slate-9"]):not(.border) { border: 1px solid transparent; }

/* Plantilla por defecto del informe: Guardar/Cancelar siempre visibles al pie del panel. */
.amanta-dialog-sticky-footer { position: sticky; bottom: -24px; z-index: 2; margin: 24px -24px -24px; padding: 14px 24px; border-top: 1px solid #eef0f3; background: #fff; }

/* Editar egreso: Proveedor con el mismo recuadro y altura que Cuenta y Fecha. */
.amanta-egreso-edit-grid input.sheet-cell { height: 48px !important; border: 1px solid #e2e8f0 !important; border-radius: 16px !important; background: #fff !important; }

/* Certificado de subcontratista: obra, subcontratista, fechas, número y retención a 46 px. */
.fixed.inset-0 fieldset.contents > .grid > label.block :is(input, [role=combobox]) { height: 46px !important; min-height: 46px; box-sizing: border-box; }

/* Rubro: el botón de unidades mide lo mismo que su campo. */
.fixed.inset-0 label.block > .flex.items-center.gap-2 > button.h-\[46px\] { width: 44px; height: 44px; }

/* Historial de quincenas: flechas de año del mismo tamaño que Cerrar. */
.flex.items-center.gap-3:has(> button.rounded-full.p-2\.5) > .flex.items-center.gap-1\.5 > button.h-9.w-9 { width: 40px; height: 40px; }

/* Notificaciones: Historial con la altura de Cerrar. */
.flex.items-center.gap-1\.5:has(> button.amanta-action-tool.h-8) > button.amanta-action-view { height: 32px; }

/* Nuevo/Editar personal: Sí/No con la altura de los campos de 56 px de la ficha. */
.fixed.inset-0 .grid:has(input.h-14) label.space-y-2 > .grid.grid-cols-2.gap-3 > button.h-12 { height: 56px; }
/* Egresos e Ingresos: limpiar filtros compacto de 44 × 44 (antes quedaba en 32 px de ancho). */
.amanta-hybrid-filter button[aria-label="Limpiar filtros"] { flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; }
.amanta-redesign-main .amanta-compact-filter-bar--income { grid-template-columns: minmax(0,1.8fr) repeat(5,minmax(0,.8fr)) minmax(105px,1.3fr) minmax(138px,1.65fr) 44px; }
.amanta-redesign-main .amanta-compact-filter-bar--expense { grid-template-columns: minmax(0,1.8fr) repeat(4,minmax(0,.8fr)) minmax(105px,1.3fr) minmax(138px,1.65fr) 44px; }
/* Ficha de personal: los campos de una fila terminan en la misma línea aunque sus rótulos midan distinto. */
.fixed.inset-0 .grid:has(input.h-14) > label.space-y-2 { display: flex; flex-direction: column; justify-content: flex-end; }
.fixed.inset-0 .grid:has(input.h-14) > label.space-y-2 > * { margin-top: 0; margin-bottom: 0; }
.fixed.inset-0 .grid:has(input.h-14) > label.space-y-2 { gap: 8px; }
/* Textos auxiliares: no ocupan espacio; se leen desde el ícono «i» de su título o rótulo (AuxiliaryHints.js). */
.amanta-aux-hidden { display: none !important; }
.amanta-aux-hint {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 16px; height: 16px; margin-left: 6px; padding: 0; vertical-align: middle;
  border: 1px solid #cfd3da; border-radius: 50%; background: #fff; color: #6b6e76;
  font: 600 10px/1 Inter, system-ui, sans-serif; font-style: normal; letter-spacing: 0; text-transform: none;
  cursor: help; user-select: none;
}
.amanta-aux-hint::before { content: "i"; }
.amanta-aux-hint:hover, .amanta-aux-hint.is-open { border-color: #e84420; color: #e84420; }
.amanta-aux-tip {
  position: fixed; z-index: 100000; max-width: 340px; padding: 8px 11px; border-radius: 10px;
  background: #18181b; color: #fff; font: 400 12px/1.45 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); pointer-events: none;
}
/* Subcontratistas: el título (botón que vuelve al directorio) queda dentro de un h1 sin cambiar su aspecto. */
.subcontractor-title-heading { margin: 0; font: inherit; }

/* Factura: el selector de condición (Elegir / CON / CRÉD / NC) queda centrado en la vertical del campo. */
.amanta-invoice-field .amanta-invoice-condition-select { display: flex; align-items: center; align-self: center; height: auto; }
.amanta-invoice-field .amanta-invoice-condition-select > * { margin-top: 0; margin-bottom: 0; }

/* Contabilidad compacta (26/09/2026): encabezado con «i», pestañas con cifra y tablas densas. */
.amanta-acc-compact { display: grid; gap: 16px; min-width: 0; }
.amanta-acc-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.amanta-acc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e84420; }
.amanta-acc-title { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: #18181b; }
.amanta-acc-reload { height: 44px; padding: 0 18px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; color: #18181b; }
.amanta-acc-card { background: #fff; border: 1px solid #e4e4e7; border-radius: 20px; padding: 18px; min-width: 0; }
.amanta-acc-summary { display: grid; gap: 16px; }
.amanta-acc-cash { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 22px; align-items: start; }
.amanta-acc-cash-total > span { font-size: 13px; color: #52525b; }
.amanta-acc-cash-total > strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 700; white-space: nowrap; }
.amanta-accounting-page .is-positive { color: #047857; }
.amanta-accounting-page .is-negative { color: #b91c1c; }
.amanta-acc-alert { margin-top: 10px; padding: 8px 12px; border: 1px solid #fcd34d; background: #fffbeb; color: #92400e; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.amanta-acc-alert--error { border-color: #fca5a5; background: #fff; color: #b91c1c; }
.amanta-acc-cash-list h2 { margin-bottom: 8px; font-size: 15px; font-weight: 650; }
.amanta-acc-table-wrap { overflow-x: auto; }
.amanta-acc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.amanta-acc-table th { padding: 8px 10px; border-bottom: 1px solid #e4e4e7; background: #f8fafc; text-align: left; font-size: 12px; font-weight: 600; color: #64748b; }
.amanta-acc-table td { padding: 8px 10px; border-bottom: 1px solid #f1f5f9; }
.amanta-acc-table .is-number { text-align: right; white-space: nowrap; }
.amanta-acc-table .is-empty { color: #64748b; }
.amanta-acc-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: #1d4ed8; }
.amanta-acc-planned { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.amanta-acc-planned h2 { font-size: 14px; font-weight: 600; color: #52525b; }
.amanta-acc-planned > div { display: flex; flex-wrap: wrap; gap: 8px; }
.amanta-acc-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px dashed #cbd5e1; border-radius: 999px; background: #fafafa; font-size: 13px; color: #18181b; }
.amanta-acc-chip small { color: #94a3b8; font-size: 12px; }
.amanta-acc-tabs { display: grid; grid-template-columns: repeat(var(--tabs), minmax(0, 280px)); gap: 10px; }
.amanta-acc-tab { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-width: 0; min-height: 64px; padding: 10px 14px; border: 1px solid #e4e4e7; border-radius: 16px; background: #fff; text-align: left; cursor: pointer; }
.amanta-acc-tab:hover { border-color: #a1a1aa; }
.amanta-acc-tab[aria-selected="true"] { border-color: #18181b; box-shadow: inset 0 -3px 0 #e84420; }
.amanta-acc-tab-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #52525b; }
.amanta-acc-tab-value { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 700; color: #18181b; }
.amanta-acc-tab--negative .amanta-acc-tab-value { color: #b91c1c; }
.amanta-acc-tab--positive .amanta-acc-tab-value { color: #047857; }
.amanta-acc-tab--warning .amanta-acc-tab-value { color: #92400e; }
.amanta-acc-panel { margin-top: 14px; display: grid; gap: 14px; min-width: 0; }
.amanta-acc-panel > section { padding: 16px !important; }
.amanta-acc-compact h2 { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1100px) {
  .amanta-acc-tabs { gap: 6px; }
  .amanta-acc-tab { min-height: 58px; padding: 8px 10px; border-radius: 14px; }
  .amanta-acc-tab-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; font-size: 11.5px; line-height: 1.25; }
  .amanta-acc-tab-value { font-size: 14px; }
  .amanta-acc-kpi { padding: 10px 14px; }
  .amanta-acc-kpi > strong { font-size: 17px; }
  .amanta-acc-cash { grid-template-columns: minmax(0, 1fr); }
}
.amanta-acc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border: 1px solid #e4e4e7; border-radius: 18px; }
.amanta-acc-kpi { display: grid; gap: 2px; min-width: 0; padding: 12px 18px; border-left: 1px solid #f1f5f9; }
.amanta-acc-kpi:first-child { border-left: 0; }
.amanta-acc-kpi > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #52525b; }
.amanta-acc-kpi > strong { font-size: 20px; font-weight: 700; color: #18181b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amanta-acc-kpi > small { font-size: 12px; color: #64748b; }
.amanta-acc-kpi--positive > strong { color: #047857; }
.amanta-acc-kpi--negative > strong { color: #b91c1c; }
.amanta-acc-kpi--warning > strong { color: #92400e; }
.amanta-acc-compact .amanta-acc-panel [role="status"] { margin: 0; }
.amanta-acc-compact > *, .amanta-acc-tabs-wrap, .amanta-acc-panel > * { min-width: 0; }


/* Corrección documental: conservar los bordes del diálogo con zoom y desplazar solo su contenido. */
.amanta-expense-document-panel {
  max-height: min(680px, 76vh);
  overflow: hidden;
}
.amanta-expense-document-body {
  max-height: calc(min(680px, 76vh) - 72px);
  overflow-y: auto;
  padding: 16px 24px;
}

/* Revisión de marcación: conserva formulario/listado y proporciones Amanta. */
.amanta-asistencia-review > header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.amanta-asistencia-review h2 { font-size:20px; font-weight:650; margin:0; }
.amanta-asistencia-review-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.amanta-asistencia-review-grid > label { display:flex; flex-direction:column; gap:8px; min-width:0; font-size:13px; }
.amanta-asistencia-review-grid > label:last-child { grid-column:1 / -1; }
.amanta-asistencia-review-grid input, .amanta-asistencia-review button { box-sizing:border-box; height:44px; min-width:0; border:1px solid #dce0e5; border-radius:12px; background:#fff; padding:0 12px; font:inherit; color:#27272a; }
.amanta-asistencia-review-grid input:focus { outline:2px solid #e8442040; border-color:#e84420; }
.amanta-asistencia-review-checks { display:flex; flex-wrap:wrap; gap:24px; margin:20px 0; }
.amanta-asistencia-review-checks label { display:flex; align-items:center; gap:8px; }
.amanta-asistencia-review-checks input { width:18px; height:18px; accent-color:#e84420; }
.amanta-asistencia-review footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; border-top:1px solid #eef0f3; }
.amanta-asistencia-review button[type=submit] { color:#fff; background:#e84420; border-color:#e84420; }
.amanta-asistencia-review button:disabled { opacity:.55; cursor:wait; }
.amanta-asistencia-review details { margin-top:20px; font-size:13px; }
.amanta-asistencia-review details li { padding:8px 0; overflow-wrap:anywhere; }
.amanta-asistencia-review-button { display:block; margin-top:6px; padding:4px 9px; border-radius:8px; color:#1d4ed8; background:#eff6ff; border:1px solid #dbeafe; font-size:12px; }
@media(max-width:600px) { .amanta-asistencia-review-grid { grid-template-columns:minmax(0,1fr); } .amanta-asistencia-review > header,.amanta-asistencia-review footer { align-items:stretch; flex-direction:column; } }
