.org-page {
  display: grid;
  gap: 20px;
  color: #122139;
}
.org-card {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 22px;
  padding: 24px;
  min-width: 0;
  box-shadow: 0 2px 4px #10233b08;
}
.org-page h1,
.org-login h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}
.org-page h2 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 16px;
}
.org-eyebrow {
  color: #ef431e;
  font-size: 12px;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}
.org-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.org-page label,
.org-login label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #536782;
  min-width: 0;
}
.org-page input,
.org-page select,
.org-login input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: #17273c;
  font-size: 14px;
}
.org-page input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
.org-page button,
.org-login button {
  border: 1px solid #dce3ee;
  border-radius: 12px;
  padding: 12px 18px;
  min-height: 44px;
}
.org-primary {
  background: #f04420 !important;
  color: #fff !important;
  border-color: #f04420 !important;
  font-weight: 600;
}
.org-page button:disabled,
.org-login button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.org-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.org-error {
  color: #b42318;
  margin: 12px 0;
}
.org-hint {
  color: #65758d;
  font-size: 14px;
  line-height: 1.6;
}
.org-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #dce3ee;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.org-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}
.org-tabs button[aria-selected="true"] {
  color: #ed431f;
  border-color: #ed431f;
}
.org-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
}
.org-table th,
.org-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #e4e8ef;
  overflow-wrap: anywhere;
}
.org-table th {
  background: #f7f9fc;
  color: #627089;
}
.org-table button {
  padding: 6px 12px;
  min-height: 36px;
  color: #215dab;
  background: #f2f7ff;
}
.org-session-actions { display: grid; gap: 8px; margin-top: 12px; font-size: 12px; }
.org-session-actions button { color: #cbd5e1; text-align: left; text-decoration: underline; cursor: pointer; }
.org-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f3f5f8;
  padding: 24px;
}
.org-login-card {
  width: min(100%, 480px);
  margin: auto;
  display: grid;
  gap: 18px;
}
.org-page .org-note {
  padding: 16px;
  background: #f4f7fc;
  border-radius: 14px;
  line-height: 1.6;
}
.org-table-wrap {
  max-height: 54vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.org-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.org-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.org-link-grid a {
  border: 1px solid #dce3ee;
  border-radius: 12px;
  text-align: center;
  padding: 16px;
  color: #235eb0;
  background: #f8faff;
}
.org-form-wide {
  grid-column: 1/-1;
}
.org-page .org-sort {
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
.org-login input:focus,
.org-page input:focus,
.org-page select:focus {
  outline: 2px solid #bfdbfe;
  outline-offset: 1px;
}
@media (max-width: 800px) {
  .org-grid,
  .org-link-grid {
    grid-template-columns: 1fr 1fr;
  }
  .org-card {
    padding: 16px;
  }
}
@media (max-width: 540px) {
  .org-grid,
  .org-link-grid {
    grid-template-columns: 1fr;
  }
  .org-table {
    font-size: 12px;
  }
}

/* El contenido revelado no cambia la altura de la fila ni mueve otras tarjetas. */
.welcome-card { height: clamp(350px, 44vh, 510px); min-height: 0; }
.welcome-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.welcome-card:focus-visible .welcome-card-media { transform: scale(1.05); }
.welcome-card:focus-visible .welcome-card-media-color { opacity: 1; }
.welcome-card:focus-visible .welcome-card-media-gray { opacity: 0; }
.amanta-review-origin { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:0; overflow-wrap:anywhere; font-size:11px; }
.amanta-review-origin small { display:block; max-width:100%; line-height:1.4; font-size:11px; font-weight:400; letter-spacing:normal; text-transform:none; }
.amanta-review-identity-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
