/* Clearer button hierarchy across the portal. Loaded after app.css by _tailwind.html. */
button, [role="button"], .btn {
  min-height: 44px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: .6rem;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
button:not([class*="bg-"]):not([class*="border"]):not([class*="ghost"]):not([class*="text-"]):not([aria-label*="close" i]):not([aria-label*="关闭"]) {
  background: #4338ca;
  color: #fff;
  border: 1px solid #3730a3;
  padding: .5rem 1.1rem;
}
button:not([class*="bg-"]):not([class*="border"]):not([class*="ghost"]):not([class*="text-"]):not([aria-label*="close" i]):not([aria-label*="关闭"]):hover { background: #3730a3; }
button.ghost, .btn-secondary {
  background: #fff;
  color: #3730a3;
  border: 2px solid #4338ca;
}
button:hover:not(:disabled) { box-shadow: 0 2px 8px rgba(67, 56, 202, .25); }
button:active:not(:disabled) { transform: translateY(1px); }
button:focus-visible, a:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
